[Nagiosplug-devel] [ nagiosplug-Patches-846311 ] Bugfix for check_hpjd
SourceForge.net
noreply at sourceforge.net
Mon Nov 24 06:55:07 CET 2003
Patches item #846311, was opened at 2003-11-21 02:02
Message generated for change (Comment added) made by tonvoon
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=846311&group_id=29880
Category: Bugfix
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Antony Simmonds (asimmonds)
>Assigned to: Ton Voon (tonvoon)
Summary: Bugfix for check_hpjd
Initial Comment:
The following patch fixes a showstopper bug introduced
in the code clean in v1.15
check_hpjd.c
--- check_hpjd.orig 2003-11-11 09:48:12.000000000
+1300
+++ check_hpjd.c 2003-11-21 14:55:06.000000000
+1300
@@ -132,7 +132,7 @@
temp_buffer = strtok (input_buffer, "=");
temp_buffer = strtok (NULL, "=");
- if (temp_buffer != NULL) {
+ if (temp_buffer == NULL) {
result = STATE_UNKNOWN;
strcpy (errmsg, input_buffer);
----------------------------------------------------------------------
>Comment By: Ton Voon (tonvoon)
Date: 2003-11-24 14:54
Message:
Logged In: YES
user_id=664364
Antony,
Thanks for the patch. In CVS, check_hpjd.c v1.18.
Ton
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=846311&group_id=29880
More information about the Devel
mailing list