summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-cli/files/patch-fix_without_ipv6
blob: 13fe62b6e7cf910f93b619ca14699d70983f8db9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- libtransmission/fdlimit.c.orig	2013-06-26 05:35:25.603458000 +0300
+++ libtransmission/fdlimit.c	2013-06-30 10:01:10.000000000 +0300
@@ -668,7 +668,7 @@
 
   if (gFd->peerCount < session->peerLimit)
     if ((s = socket (domain, type, 0)) < 0)
-      if (sockerrno != EAFNOSUPPORT)
+      if (sockerrno != EPROTONOSUPPORT)
         tr_logAddError (_("Couldn't create socket: %s"), tr_strerror (sockerrno));
 
   if (s > -1)