[Nagiosplug-devel] [ nagiosplug-Patches-846311 ] Bugfix for check_hpjd

SourceForge.net noreply at sourceforge.net
Thu Nov 20 18:03:03 CET 2003


Patches item #846311, was opened at 2003-11-21 15:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=846311&group_id=29880

Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Antony Simmonds (asimmonds)
Assigned to: Nobody/Anonymous (nobody)
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);


----------------------------------------------------------------------

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