From abc7b9b5be8e0192359486a2b41b9306d311feb0 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 24 Nov 2003 14:53:46 +0000 Subject: [PATCH] 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 --- plugins/check_hpjd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index becbffe..8d3f4c8 100644 --- a/plugins/check_hpjd.c +++ b/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); -- 2.30.2