Mercurial > pidgin.yaz
diff src/protocols/oscar/ft.c @ 8880:ec3e041dc3bd
[gaim-migrate @ 9649]
My thanks to the dude that fixed up the comments for conn.c
These are just a few changes from me.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 06 May 2004 04:41:24 +0000 |
parents | 92cbf9713795 |
children | 535449a13b07 |
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c Thu May 06 03:50:45 2004 +0000 +++ b/src/protocols/oscar/ft.c Thu May 06 04:41:24 2004 +0000 @@ -175,11 +175,12 @@ int ret = 0; aim_conn_t *newconn; char ip[20]; - unsigned short int port; + unsigned short port; if ((acceptfd = accept(cur->fd, &addr, &addrlen)) == -1) return 0; /* not an error */ + /* Also accept inet6? */ if (addr.sa_family != AF_INET) { close(acceptfd); aim_conn_close(cur);