diff options
-rw-r--r-- | plugins/check_hpjd.c | 2 |
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); |