# HG changeset patch # User Mark Doliner # Date 1162065927 0 # Node ID 71404dbedabc285919b557c4aad2d9ed058539d6 # Parent 118fd0dc5b6e0a755d5e326f29b3ba808ebcaa17 [gaim-migrate @ 17607] I don't believe this check is needed committer: Tailor Script diff -r 118fd0dc5b6e -r 71404dbedabc libgaim/connection.c --- a/libgaim/connection.c Sat Oct 28 20:04:03 2006 +0000 +++ b/libgaim/connection.c Sat Oct 28 20:05:27 2006 +0000 @@ -31,6 +31,7 @@ #include "log.h" #include "notify.h" #include "prefs.h" +#include "proxy.h" #include "request.h" #include "server.h" #include "signals.h" @@ -188,13 +189,11 @@ update_keepalive(gc, FALSE); - if (gc->prpl != NULL) - { - prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); + gaim_proxy_connect_cancel_with_handle(gc); - if (prpl_info->close) - (prpl_info->close)(gc); - } + prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl); + if (prpl_info->close) + (prpl_info->close)(gc); /* Clear out the proto data that was freed in the prpl close method*/ buddies = gaim_find_buddies(account, NULL);