Mercurial > pidgin
changeset 7342:c9ac24f6c09e
[gaim-migrate @ 7932]
Well, it won't make any thing worse, and it should let incoming or
outgoing or something file transfers work on comps
with ipv6 enabled in the kernel. Or something.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 27 Oct 2003 02:15:34 +0000 |
parents | 3c70c4fd8032 |
children | 3e28b2646afd |
files | src/protocols/oscar/ft.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c Sun Oct 26 22:26:44 2003 +0000 +++ b/src/protocols/oscar/ft.c Mon Oct 27 02:15:34 2003 +0000 @@ -258,7 +258,7 @@ if ((acceptfd = accept(cur->fd, &addr, &addrlen)) == -1) return 0; /* not an error */ - if (addr.sa_family != AF_INET) { /* just in case IPv6 really is happening */ + if ((addr.sa_family != AF_INET) && (addr.sa_family != AF_INET6)) { /* just in case IPv6 really is happening */ close(acceptfd); aim_conn_close(cur); return -1;