[NeoStats-Devel] [Commits] r2646 - trunk/src [email protected] Thu, 7 Jul 2005 22:52:17 +1000 Newsgroups gmane.comp.neostats.devel Message-ID <[email protected]> Author: Fish Date: Thu Jul 7 20:52:09 2005 New Revision: 2646 Modified: trunk/src/ossocket.c Log: fix UDP recvfrom sillyness Modified: trunk/src/ossocket.c ============================================================================== --- trunk/src/ossocket.c (original) +++ trunk/src/ossocket.c Thu Jul 7 20:52:09 2005 @@ -379,7 +379,7 @@ /* reset local errno implementation */ os_sock_errno = 0; - ret = recvfrom( s, buf, len, flags, from, (socklen_t *)&fromlen ); + ret = recvfrom( s, buf, len, flags, from, (socklen_t *)fromlen ); if( ret == SOCKET_ERROR ) { OS_SOCK_SET_ERRNO();