[Nagiosplug-devel] [ nagiosplug-Patches-1077590 ] check_http.c - broken return value in process_arguments()
SourceForge.net
noreply at sourceforge.net
Thu Dec 2 06:37:02 CET 2004
Patches item #1077590, was opened at 2004-12-02 15:04
Message generated for change (Comment added) made by opensides
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 - broken return value in process_arguments()
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().
----------------------------------------------------------------------
Comment By: Benoit Mortier (opensides)
Date: 2004-12-02 15:36
Message:
Logged In: YES
user_id=388184
Hello,
It was my fault..
commited to cvs
----------------------------------------------------------------------
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