[Olsr-cvs] olsrd-current/src/win32 net.c,1.19,1.20
Bernd Petrovitsch
(spam-protected)
Mon Nov 6 00:03:58 CET 2006
Update of /cvsroot/olsrd/olsrd-current/src/win32
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32294/src/win32
Modified Files:
net.c
Log Message:
* killed file descriptor leaks
Index: net.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/win32/net.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** net.c 30 May 2005 13:50:27 -0000 1.19
--- net.c 5 Nov 2006 23:03:56 -0000 1.20
***************
*** 88,91 ****
--- 88,92 ----
fprintf(stderr, "Error connecting %d - %s\n", errno, strerror(errno));
printf("connection refused\n");
+ closesocket(sock);
return (-1);
}
More information about the Olsr-cvs
mailing list