Mercurial > pidgin
diff src/rvous.c @ 1087:56c7ceb986a8
[gaim-migrate @ 1097]
thank god, someone finally redid the proxy stuff. i think most of it works even. isn't that neat? thanks adam.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sun, 12 Nov 2000 23:54:07 +0000 |
| parents | 80a47e3b1bca |
| children | a930439f29b1 |
line wrap: on
line diff
--- a/src/rvous.c Sun Nov 12 14:14:12 2000 +0000 +++ b/src/rvous.c Sun Nov 12 23:54:07 2000 +0000 @@ -234,8 +234,9 @@ ft->window = NULL; serv_rvous_accept(ft->gc, ft->user, ft->cookie, ft->UID); - - ft->fd = connect_address(inet_addr(ft->ip), ft->port); + + /* XXX is ft->port in host order or network order? */ + ft->fd = proxy_connect(ft->ip, ft->port, NULL, NULL, -1); if (ft->fd <= -1) { fclose(ft->f); @@ -513,8 +514,8 @@ serv_rvous_accept(ft->gc, ft->user, ft->cookie, ft->UID); - - ft->fd = connect_address(inet_addr(ft->ip), ft->port); + /* XXX is ft->port in host order or network order? */ + ft->fd = proxy_connect(ft->ip, ft->port, NULL, NULL, -1); if (ft->fd <= -1) { free_ft(ft);
