blob: fac20ad9a6b670f0c57c5bc9dee48141dbebce5f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- libtransmission/fdlimit.c.orig 2015-07-01 00:54:41 UTC
+++ libtransmission/fdlimit.c
@@ -517,7 +517,7 @@ tr_fdSocketCreate (tr_session * session,
if (gFd->peerCount < session->peerLimit)
if ((s = socket (domain, type, 0)) == TR_BAD_SOCKET)
- if (sockerrno != EAFNOSUPPORT)
+ if (sockerrno != EPROTONOSUPPORT)
{
char err_buf[512];
tr_logAddError (_("Couldn't create socket: %s"),
|