aboutsummaryrefslogtreecommitdiff
path: root/src/tcpsocket.cpp
diff options
context:
space:
mode:
authorDavid <david@xagasoft.com>2011-02-21 19:09:49 +0000
committerDavid <david@xagasoft.com>2011-02-21 19:09:49 +0000
commit66669b2b9d392f6ae8f2c2a6acf7752bc0b6bc7e (patch)
tree6c9b864606c486ffd8adb3b51cd39167788421bf /src/tcpsocket.cpp
parentba64111dabe60f0cce109831cae11c37ab42b249 (diff)
downloadlibbu++-66669b2b9d392f6ae8f2c2a6acf7752bc0b6bc7e.tar.gz
libbu++-66669b2b9d392f6ae8f2c2a6acf7752bc0b6bc7e.tar.bz2
libbu++-66669b2b9d392f6ae8f2c2a6acf7752bc0b6bc7e.tar.xz
libbu++-66669b2b9d392f6ae8f2c2a6acf7752bc0b6bc7e.zip
david - udp not building on windows for now && fixed a windows tcpsocket thing
Diffstat (limited to 'src/tcpsocket.cpp')
-rw-r--r--src/tcpsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcpsocket.cpp b/src/tcpsocket.cpp
index 52dfc5c..105529a 100644
--- a/src/tcpsocket.cpp
+++ b/src/tcpsocket.cpp
@@ -401,7 +401,7 @@ void Bu::TcpSocket::setBlocking( bool bBlocking )
401 fcntl( nTcpSocket, F_SETFL, fcntl( nTcpSocket, F_GETFL, 0 ) | O_NONBLOCK ); 401 fcntl( nTcpSocket, F_SETFL, fcntl( nTcpSocket, F_GETFL, 0 ) | O_NONBLOCK );
402 } 402 }
403#else 403#else
404 u_Bu::size iMode; 404 u_long iMode;
405 if( bBlocking ) 405 if( bBlocking )
406 iMode = 0; 406 iMode = 0;
407 else 407 else