diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-08-21 04:22:46 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-08-21 04:22:46 +0000 |
commit | c532a4a05dd567990a80578040256ec95a710ae2 (patch) | |
tree | 507dd48b800fa20be5a153e643bbca392f337b59 /plugins | |
parent | 49bc8237c09e3fc0963ec18cedc549cb5c7373df (diff) | |
download | monitoring-plugins-c532a4a05dd567990a80578040256ec95a710ae2.tar.gz |
Misplaced comment
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2037 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ntp_peer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 73ba8990..6963fde5 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
@@ -183,10 +183,10 @@ char *extract_value(const char *varlist, const char *name){ | |||
183 | char *tmp=NULL, *value=NULL; | 183 | char *tmp=NULL, *value=NULL; |
184 | int i; | 184 | int i; |
185 | 185 | ||
186 | /* Strip any leading space */ | ||
187 | |||
188 | while (1) { | 186 | while (1) { |
187 | /* Strip any leading space */ | ||
189 | for (varlist; isspace(varlist[0]); varlist++); | 188 | for (varlist; isspace(varlist[0]); varlist++); |
189 | |||
190 | if (strncmp(name, varlist, strlen(name)) == 0) { | 190 | if (strncmp(name, varlist, strlen(name)) == 0) { |
191 | varlist += strlen(name); | 191 | varlist += strlen(name); |
192 | /* strip trailing spaces */ | 192 | /* strip trailing spaces */ |