From 9eafbe9c88c67b1b3b05659a933bab7da9bb4612 Mon Sep 17 00:00:00 2001 From: "kurtis.heimerl" Date: Fri, 23 Nov 2012 08:38:04 +0000 Subject: missed something in one of the socket patches. now works as expected git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4516 19bc5d8c-e614-43d4-8b26-e1612bc8e597 --- CommonLibs/Sockets.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'CommonLibs/Sockets.cpp') diff --git a/CommonLibs/Sockets.cpp b/CommonLibs/Sockets.cpp index 62841ad..9f7c24c 100644 --- a/CommonLibs/Sockets.cpp +++ b/CommonLibs/Sockets.cpp @@ -181,6 +181,7 @@ int DatagramSocket::read(char* buffer, unsigned timeout) { fd_set fds; FD_ZERO(&fds); + FD_SET(mSocketFD,&fds); struct timeval tv; tv.tv_sec = timeout/1000; tv.tv_usec = (timeout%1000)*1000; -- cgit v1.2.3