diff options
Diffstat (limited to 'plugins')
-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 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); |