[Tinyos-2-commits] CVS: tinyos-2.x/support/sdk/cpp/sf sfcontrol.cpp, 1.3, 1.4
Jan-Hinrich Hauer
janhauer at users.sourceforge.net
Wed Apr 23 02:50:15 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/support/sdk/cpp/sf
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv9053
Modified Files:
sfcontrol.cpp
Log Message:
small fix pointed out by Axel Poigné: third parameter to accept should be of type socklen_t (this is relevant under cygwin only)
Index: sfcontrol.cpp
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/sdk/cpp/sf/sfcontrol.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sfcontrol.cpp 18 Jul 2007 11:12:59 -0000 1.3
--- sfcontrol.cpp 23 Apr 2008 09:50:01 -0000 1.4
***************
*** 496,500 ****
struct sockaddr_in client;
! unsigned int clientAddrLen = sizeof(client);
FD_ZERO(&rfds);
--- 496,500 ----
struct sockaddr_in client;
! socklen_t clientAddrLen = sizeof(client);
FD_ZERO(&rfds);
More information about the Tinyos-2-commits
mailing list