Tue, 24 Aug 2004 22:08:53 +0000
[gaim-migrate @ 10733]
You betta chiggaty check yoself befo you wiggaty wreck yoself.
| src/connection.c | file | annotate | diff | comparison | revisions |
--- 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;