Explorar o código

Bug from code-clean (Antony Simmonds - 846311)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@777 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon %!s(int64=22) %!d(string=hai) anos
pai
achega
abc7b9b5be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/check_hpjd.c

+ 1 - 1
plugins/check_hpjd.c

@@ -132,7 +132,7 @@ main (int argc, char **argv)
 		temp_buffer = strtok (input_buffer, "=");
 		temp_buffer = strtok (NULL, "=");
 
-		if (temp_buffer != NULL) {
+		if (temp_buffer == NULL) {
 
 				result = STATE_UNKNOWN;
 				strcpy (errmsg, input_buffer);