[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2037] nagiosplug/trunk/plugins/check_ntp_peer.c

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Thu Aug 21 06:22:47 CEST 2008


Revision: 2037
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2037&view=rev
Author:   dermoth
Date:     2008-08-21 04:22:46 +0000 (Thu, 21 Aug 2008)

Log Message:
-----------
Misplaced comment

Modified Paths:
--------------
    nagiosplug/trunk/plugins/check_ntp_peer.c

Modified: nagiosplug/trunk/plugins/check_ntp_peer.c
===================================================================
--- nagiosplug/trunk/plugins/check_ntp_peer.c	2008-08-21 04:17:35 UTC (rev 2036)
+++ nagiosplug/trunk/plugins/check_ntp_peer.c	2008-08-21 04:22:46 UTC (rev 2037)
@@ -183,10 +183,10 @@
 	char *tmp=NULL, *value=NULL;
 	int i;
 
-  /* Strip any leading space */
-
 	while (1) {
+	  /* Strip any leading space */
 		for (varlist; isspace(varlist[0]); varlist++);
+
 		if (strncmp(name, varlist, strlen(name)) == 0) {
 			varlist += strlen(name);
 			/* strip trailing spaces */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list