aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_hpjd.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-11-24 14:53:46 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2003-11-24 14:53:46 +0000
commitabc7b9b5be8e0192359486a2b41b9306d311feb0 (patch)
tree33f471bc2acd095db45728aceda4a74e5795cd7c /plugins/check_hpjd.c
parent87e83994015a9650566aa27a302bf983ab4bdf1f (diff)
downloadmonitoring-plugins-abc7b9b5be8e0192359486a2b41b9306d311feb0.tar.gz
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
Diffstat (limited to 'plugins/check_hpjd.c')
-rw-r--r--plugins/check_hpjd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index becbffe2..8d3f4c80 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);