[Nagiosplug-devel] [ nagiosplug-Patches-1077590 ] check_http.c -

SourceForge.net noreply at sourceforge.net
Thu Dec 2 06:05:02 CET 2004


Patches item #1077590, was opened at 2004-12-02 09:04
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=1077590&group_id=29880

Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John Sivak (jsivak)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_http.c - 

Initial Comment:
In going from revision 1.67 to 1.68 the check for valid
process_arguments was changed from:
if (process_arguments (argc, argv) == ERROR)
to
if (process_arguments (argc, argv) != OK)

This would be fine, except that process_arguments()
returns TRUE when everything is "OK", not the _actual_ OK.

Here's the small patch to fix the return value for
process_arguments().

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1077590&group_id=29880




More information about the Devel mailing list