summaryrefslogtreecommitdiff
path: root/lib/Socket.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-23 11:26:50 +0000
committerPixel <Pixel>2001-11-23 11:26:50 +0000
commit1311938cc52369b8631c29f83a9ecdf4a5f12f19 (patch)
tree4ec27df25d3df977631e62a82c11fd387a28b8c2 /lib/Socket.cc
parent0497d21e5b7b483259642aad1f23392995863c17 (diff)
Last modifications...
Diffstat (limited to 'lib/Socket.cc')
-rw-r--r--lib/Socket.cc2
1 files changed, 1 insertions, 1 deletions
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;
}
}