Mercurial > pidgin
comparison src/protocols/yahoo/ycht.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 | d812efcea547 |
comparison
equal
deleted
inserted
replaced
14107:c0ee28af3ca2 | 14108:7a205b430d19 |
---|---|
569 yd->ycht = ycht; | 569 yd->ycht = ycht; |
570 | 570 |
571 if (gaim_proxy_connect(account, | 571 if (gaim_proxy_connect(account, |
572 gaim_account_get_string(account, "ycht-server", YAHOO_YCHT_HOST), | 572 gaim_account_get_string(account, "ycht-server", YAHOO_YCHT_HOST), |
573 gaim_account_get_int(account, "ycht-port", YAHOO_YCHT_PORT), | 573 gaim_account_get_int(account, "ycht-port", YAHOO_YCHT_PORT), |
574 ycht_got_connected, NULL, ycht) == NULL) | 574 ycht_got_connected, ycht) == NULL) |
575 { | 575 { |
576 ycht_connection_error(ycht, _("Connection problem")); | 576 ycht_connection_error(ycht, _("Connection problem")); |
577 return; | 577 return; |
578 } | 578 } |
579 } | 579 } |