[Nagiosplug-devel] [ nagiosplug-Patches-1632072 ] pointer error in plugins/netutils.c
SourceForge.net
noreply at sourceforge.net
Wed Jan 10 08:51:42 CET 2007
Patches item #1632072, was opened at 2007-01-10 07:51
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=1632072&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Chris Grim (cgrim)
Assigned to: Nobody/Anonymous (nobody)
Summary: pointer error in plugins/netutils.c
Initial Comment:
In np_net_connect() a pointer to the value returned by socket() is compared against zero rather than the value itself. Patch against CVS HEAD is below.
Chris
Index: plugins/netutils.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/netutils.c,v
retrieving revision 1.32
diff -r1.32 netutils.c
228c228
< if(sd < 0){
---
> if(*sd < 0){
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1632072&group_id=29880
More information about the Devel
mailing list