From 1311938cc52369b8631c29f83a9ecdf4a5f12f19 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 23 Nov 2001 11:26:50 +0000 Subject: Last modifications... --- lib/Socket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Socket.cc') diff --git a/lib/Socket.cc b/lib/Socket.cc index 5d80783..d3d7c19 100644 --- a/lib/Socket.cc +++ b/lib/Socket.cc @@ -104,7 +104,7 @@ bool Socket::Connect(String host, int port) { bool Socket::Listen(void) { if (!listening && !connected) { - if (listen(GetHandle(), 10)) { + if (!listen(GetHandle(), 10)) { listening = true; } } -- cgit v1.2.3