[Telepathy-commits] [telepathy-gabble/master] Use a backlog of 1 for listen() as we expect only a connection
Marco Barisione
marco at barisione.org
Tue Jan 6 08:41:29 PST 2009
---
src/bytestream-socks5.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/bytestream-socks5.c b/src/bytestream-socks5.c
index b35c9af..2e5b697 100644
--- a/src/bytestream-socks5.c
+++ b/src/bytestream-socks5.c
@@ -1373,7 +1373,7 @@ gabble_bytestream_socks5_initiate (GabbleBytestreamIface *iface)
return FALSE;
}
- if (listen (fd, 5) < 0)
+ if (listen (fd, 1) < 0)
{
DEBUG ("couldn't listen on socket");
return FALSE;
--
1.5.6.5
More information about the Telepathy-commits
mailing list