# HG changeset patch # User Mark Doliner # Date 1067220934 0 # Node ID c9ac24f6c09ea9f1bc710f3746551968e24b2633 # Parent 3c70c4fd80320312f74adc9425241f98c51cc02c [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 diff -r 3c70c4fd8032 -r c9ac24f6c09e src/protocols/oscar/ft.c --- 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;