[Olsr-cvs] olsrd-current/lib/httpinfo/src olsrd_httpinfo.c, 1.57, 1.57.2.1
Bernd Petrovitsch
(spam-protected)
Mon Nov 6 00:03:28 CET 2006
Update of /cvsroot/olsrd/olsrd-current/lib/httpinfo/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32293/lib/httpinfo/src
Modified Files:
Tag: olsrd_04
olsrd_httpinfo.c
Log Message:
* killed file descriptor leaks
Index: olsrd_httpinfo.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/httpinfo/src/olsrd_httpinfo.c,v
retrieving revision 1.57
retrieving revision 1.57.2.1
diff -C2 -d -r1.57 -r1.57.2.1
*** olsrd_httpinfo.c 22 Dec 2005 15:06:52 -0000 1.57
--- olsrd_httpinfo.c 5 Nov 2006 23:03:26 -0000 1.57.2.1
***************
*** 298,301 ****
--- 298,302 ----
{
olsr_printf(1, "(HTTPINFO) bind failed %s\n", strerror(errno));
+ close(s);
return -1;
}
***************
*** 305,308 ****
--- 306,310 ----
{
olsr_printf(1, "(HTTPINFO) listen failed %s\n", strerror(errno));
+ close(s);
return -1;
}
More information about the Olsr-cvs
mailing list