소스 검색

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 22 년 전
부모
커밋
abc7b9b5be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);