Mercurial > pidgin
diff src/connection.c @ 9854:e389922bdea7
[gaim-migrate @ 10733]
You betta chiggaty check yoself befo you wiggaty wreck yoself.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 24 Aug 2004 22:08:53 +0000 |
| parents | f462f91edeb2 |
| children | e4a27c9aec4c |
line wrap: on
line diff
--- 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;
