[Olsr-cvs] olsrd-current/lib/httpinfo/src olsrd_httpinfo.c, 1.59, 1.60

Bernd Petrovitsch (spam-protected)
Mon Nov 6 00:03:58 CET 2006


Update of /cvsroot/olsrd/olsrd-current/lib/httpinfo/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32294/lib/httpinfo/src

Modified Files:
	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.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** olsrd_httpinfo.c	18 Sep 2006 18:55:30 -0000	1.59
--- olsrd_httpinfo.c	5 Nov 2006 23:03:56 -0000	1.60
***************
*** 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