mirror of
https://github.com/fairwaves/openbts-2.8.git
synced 2025-10-26 09:33:38 +00:00
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
This commit is contained in:
@@ -181,6 +181,7 @@ int DatagramSocket::read(char* buffer, unsigned timeout)
|
|||||||
{
|
{
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
FD_ZERO(&fds);
|
FD_ZERO(&fds);
|
||||||
|
FD_SET(mSocketFD,&fds);
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
tv.tv_sec = timeout/1000;
|
tv.tv_sec = timeout/1000;
|
||||||
tv.tv_usec = (timeout%1000)*1000;
|
tv.tv_usec = (timeout%1000)*1000;
|
||||||
|
|||||||
Reference in New Issue
Block a user