/[monit]/monit/net.c
ViewVC logotype

Diff of /monit/net.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.59 by hauk, Tue Jan 25 05:34:58 2005 UTC revision 1.60 by chopp, Fri Aug 5 09:38:09 2005 UTC
# Line 750  static int do_connect(int s, const struc Line 750  static int do_connect(int s, const struc
750    }    }
751    
752    if(FD_ISSET(s, &rset) || FD_ISSET(s, &wset)) {    if(FD_ISSET(s, &rset) || FD_ISSET(s, &wset)) {
753      int len= sizeof(error);      unsigned int len= sizeof(error);
754      if(getsockopt(s, SOL_SOCKET, SO_ERROR, &error, &len) < 0)      if(getsockopt(s, SOL_SOCKET, SO_ERROR, &error, &len) < 0)
755        return -1;        return -1;
756    } else    } else

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26