summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-08-21 09:41:11 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-08-21 09:41:11 (GMT)
commit873619fffbb3be54f071f043a2ca24fbf7fac8f8 (patch)
tree447edd3febe44ec31d47fff7d2bb9e3f0cc409c4
parentc532a4a05dd567990a80578040256ec95a710ae2 (diff)
downloadmonitoring-plugins-873619fffbb3be54f071f043a2ca24fbf7fac8f8.tar.gz
Nothing
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2038 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_ntp_peer.c2
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) {