diff options
| author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-11-24 14:53:46 +0000 |
|---|---|---|
| committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-11-24 14:53:46 +0000 |
| commit | abc7b9b5be8e0192359486a2b41b9306d311feb0 (patch) | |
| tree | 33f471bc2acd095db45728aceda4a74e5795cd7c /plugins | |
| parent | 87e83994015a9650566aa27a302bf983ab4bdf1f (diff) | |
| download | monitoring-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.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) | |||
| 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); |
