summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87e8399)
raw | patch | inline | side by side (parent: 87e8399)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 24 Nov 2003 14:53:46 +0000 (14:53 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 24 Nov 2003 14:53:46 +0000 (14:53 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@777 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_hpjd.c | patch | blob | history |
diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c
index becbffe26b8029e0a2365bc6423faa6d5f7cb6ca..8d3f4c80fd9afd278c8dbde68f6e40c3a55d7ee8 100644 (file)
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
temp_buffer = strtok (input_buffer, "=");
temp_buffer = strtok (NULL, "=");
- if (temp_buffer != NULL) {
+ if (temp_buffer == NULL) {
result = STATE_UNKNOWN;
strcpy (errmsg, input_buffer);