summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-11-24 14:53:46 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-11-24 14:53:46 (GMT)
commitabc7b9b5be8e0192359486a2b41b9306d311feb0 (patch)
tree33f471bc2acd095db45728aceda4a74e5795cd7c /plugins
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')
-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 becbffe..8d3f4c8 100644
--- a/plugins/check_hpjd.c
+++ b/plugins/check_hpjd.c
@@ -132,7 +132,7 @@ main (int argc, char **argv)
132 temp_buffer = strtok (input_buffer, "="); 132 temp_buffer = strtok (input_buffer, "=");
133 temp_buffer = strtok (NULL, "="); 133 temp_buffer = strtok (NULL, "=");
134 134
135 if (temp_buffer != NULL) { 135 if (temp_buffer == NULL) {
136 136
137 result = STATE_UNKNOWN; 137 result = STATE_UNKNOWN;
138 strcpy (errmsg, input_buffer); 138 strcpy (errmsg, input_buffer);