[Nagiosplug-devel] [ nagiosplug-Bugs-1078682 ] broken in CVS - check_ping, _http, and more..

SourceForge.net noreply at sourceforge.net
Fri Dec 3 15:18:02 CET 2004


Bugs item #1078682, was opened at 2004-12-03 18:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1078682&group_id=29880

Category: None
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: John Sivak (jsivak)
Assigned to: Nobody/Anonymous (nobody)
Summary: broken in CVS - check_ping, _http, and more..

Initial Comment:
This is related to 
https://sourceforge.net/tracker/index.php?func=detail&aid=1077590&group_id=29880&atid=397599
which was "fixed".

But, the fix didn't change the "return OK;" statement
in either process_arguments() or validate_arugments()
in the following files:
check_ping.c
check_http.c
check_dns.c
check_smtp.c
check_mysql.c
check_tcp.c

OK is defined as "0" in common.h, so the "if
(process_arguments (argc, argv) != TRUE)" checks are
failing when OK is returned (0 != TRUE).

I didn't supply a patch since I'm not sure how you want
to fix the problem (either changing the "if" statement
or changing the return statements..)

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

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




More information about the Devel mailing list