diff libpurple/protocols/sametime/sametime.c @ 27201: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 b87843de7c6a
children 01f1929d0936
line wrap: on
line diff
--- a/libpurple/protocols/sametime/sametime.c	Thu Jun 18 23:31:38 2009 +0000
+++ b/libpurple/protocols/sametime/sametime.c	Thu Jun 18 23:36:55 2009 +0000
@@ -1466,7 +1466,7 @@
 
   if(purple_account_get_bool(account, MW_KEY_FORCE, FALSE) ||
      !host || (! strcmp(current_host, host)) ||
-     (purple_proxy_connect(NULL, account, host, port, connect_cb, pd) == NULL)) {
+     (purple_proxy_connect(gc, account, host, port, connect_cb, pd) == NULL)) {
 
     /* if we're configured to force logins, or if we're being
        redirected to the already configured host, or if we couldn't