freebsd-ports/net-p2p/transmission-cli/files/patch-fix_without_ipv6
Chris Rees 77e098ee62 Update to 2.80
PR:		ports/180120
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com>
2013-07-01 18:40:19 +00:00

11 lines
428 B
Text

--- 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)