Mercurial > pidgin.yaz
comparison src/upnp.c @ 14108:7a205b430d19
[gaim-migrate @ 16742]
Removing the "error_cb" parameter for gaim_proxy_connect(), changing it
back to how it was. As I started making changes to oscar to support
canceling connection attempts, I realized that having a separate callback
for errors would result in more code duplication than was needed.
Originally I thought the separate callback would make things cleaner.
Anyway, sorry for the noise.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Aug 2006 04:43:38 +0000 |
parents | 10e8eb6a4910 |
children | 8af7f3a7015f |
comparison
equal
deleted
inserted
replaced
14107:c0ee28af3ca2 | 14108:7a205b430d19 |
---|---|
809 if(port == 0 || port == -1) { | 809 if(port == 0 || port == -1) { |
810 port = DEFAULT_HTTP_PORT; | 810 port = DEFAULT_HTTP_PORT; |
811 } | 811 } |
812 | 812 |
813 if(gaim_proxy_connect(NULL, addressOfControl, port, | 813 if(gaim_proxy_connect(NULL, addressOfControl, port, |
814 looked_up_internal_ip_cb, NULL, NULL) == NULL) | 814 looked_up_internal_ip_cb, NULL) == NULL) |
815 { | 815 { |
816 gaim_debug_error("upnp", "Get Local IP Connect Failed: Address: %s @@@ Port %d\n", | 816 gaim_debug_error("upnp", "Get Local IP Connect Failed: Address: %s @@@ Port %d\n", |
817 addressOfControl, port); | 817 addressOfControl, port); |
818 } | 818 } |
819 | 819 |