# HG changeset patch # User Mark Doliner # Date 1093385333 0 # Node ID e389922bdea7d5c5c98da6126a5ed5b43b66242c # Parent 3d2cc7c505085e5ef092f366cc9e0d00e79aea1e [gaim-migrate @ 10733] You betta chiggaty check yoself befo you wiggaty wreck yoself. committer: Tailor Script diff -r 3d2cc7c50508 -r e389922bdea7 src/connection.c --- a/src/connection.c Tue Aug 24 21:19:24 2004 +0000 +++ b/src/connection.c Tue Aug 24 22:08:53 2004 +0000 @@ -273,13 +273,12 @@ gaim_connection_disconnect_cb(gpointer data) { GaimAccount *account = data; + GaimConnection *gc = gaim_account_get_connection(account); if (!gaim_account_get_remember_password(account)) gaim_account_set_password(account,NULL); - GaimConnection *gc = gaim_account_get_connection(account); - - if(gc) + if (gc) gaim_connection_disconnect(gc); return FALSE;