[Olsr-cvs] olsrd-current/lib/txtinfo/src olsrd_txtinfo.c, 1.10, 1.11

Bernd Petrovitsch (spam-protected)
Tue Sep 18 00:08:03 CEST 2007


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

Modified Files:
	olsrd_txtinfo.c 
Log Message:
* applied 113-olsrd-txtinfo-fixhttpget.patch

Index: olsrd_txtinfo.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/txtinfo/src/olsrd_txtinfo.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** olsrd_txtinfo.c	13 Sep 2007 15:31:59 -0000	1.10
--- olsrd_txtinfo.c	17 Sep 2007 22:08:01 -0000	1.11
***************
*** 238,242 ****
      FD_ZERO(&rfds);
      FD_SET((unsigned int)ipc_connection, &rfds); /* Win32 needs the cast here */
!     if(select(ipc_connection+1, &rfds, NULL, NULL, &tv)) {
          char requ[128];
          ssize_t s = recv(ipc_connection, (void*)&requ, sizeof(requ), 0); /* Win32 needs the cast here */
--- 238,242 ----
      FD_ZERO(&rfds);
      FD_SET((unsigned int)ipc_connection, &rfds); /* Win32 needs the cast here */
!     if(0 <= select(ipc_connection+1, &rfds, NULL, NULL, &tv)) {
          char requ[128];
          ssize_t s = recv(ipc_connection, (void*)&requ, sizeof(requ), 0); /* Win32 needs the cast here */





More information about the Olsr-cvs mailing list