Mercurial > pidgin
diff libpurple/protocols/yahoo/ycht.c @ 27119:d078048fb03a
Pass the gc as the handle in a bunch of calls to purple_proxy_connect
This causes the connection attempt to be canceled/destroyed if the
gc is destroyed
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 18 Jun 2009 23:36:55 +0000 |
parents | 510f07e1f5c1 |
children | 377e063ecda5 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/ycht.c Thu Jun 18 23:31:38 2009 +0000 +++ b/libpurple/protocols/yahoo/ycht.c Thu Jun 18 23:36:55 2009 +0000 @@ -578,7 +578,7 @@ yd->ycht = ycht; - if (purple_proxy_connect(NULL, account, + if (purple_proxy_connect(gc, account, purple_account_get_string(account, "ycht-server", YAHOO_YCHT_HOST), purple_account_get_int(account, "ycht-port", YAHOO_YCHT_PORT), ycht_got_connected, ycht) == NULL)