diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_ntp_peer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ntp_peer.c b/plugins/check_ntp_peer.c index 6963fde..00c8e97 100644 --- a/plugins/check_ntp_peer.c +++ b/plugins/check_ntp_peer.c | |||
@@ -184,7 +184,7 @@ char *extract_value(const char *varlist, const char *name){ | |||
184 | int i; | 184 | int i; |
185 | 185 | ||
186 | while (1) { | 186 | while (1) { |
187 | /* Strip any leading space */ | 187 | /* Strip any leading space */ |
188 | for (varlist; isspace(varlist[0]); varlist++); | 188 | for (varlist; isspace(varlist[0]); varlist++); |
189 | 189 | ||
190 | if (strncmp(name, varlist, strlen(name)) == 0) { | 190 | if (strncmp(name, varlist, strlen(name)) == 0) { |