Mercurial > pidgin
comparison src/protocols/oscar/ft.c @ 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 | 04dc7fe68889 |
children | c5c8c88594ee |
comparison
equal
deleted
inserted
replaced
7341:3c70c4fd8032 | 7342:c9ac24f6c09e |
---|---|
256 int port; | 256 int port; |
257 | 257 |
258 if ((acceptfd = accept(cur->fd, &addr, &addrlen)) == -1) | 258 if ((acceptfd = accept(cur->fd, &addr, &addrlen)) == -1) |
259 return 0; /* not an error */ | 259 return 0; /* not an error */ |
260 | 260 |
261 if (addr.sa_family != AF_INET) { /* just in case IPv6 really is happening */ | 261 if ((addr.sa_family != AF_INET) && (addr.sa_family != AF_INET6)) { /* just in case IPv6 really is happening */ |
262 close(acceptfd); | 262 close(acceptfd); |
263 aim_conn_close(cur); | 263 aim_conn_close(cur); |
264 return -1; | 264 return -1; |
265 } | 265 } |
266 | 266 |