[Nagiosplug-devel] [ nagiosplug-Bugs-1077590 ] check_http.c - broken return value in process_arguments()

SourceForge.net noreply at sourceforge.net
Fri Dec 3 16:05:01 CET 2004


Bugs 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=397597&aid=1077590&group_id=29880

>Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: John Sivak (jsivak)
>Assigned to: Benoit Mortier (opensides)
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-04 01:04

Message:
Logged In: YES 
user_id=388184

Hi, 
 
normaly corrected along bug 1078682 
 
Please test 
 
Thank you 

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

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=397597&aid=1077590&group_id=29880




More information about the Devel mailing list