[gaim-migrate @ 10733]

Tue, 24 Aug 2004 22:08:53 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Tue, 24 Aug 2004 22:08:53 +0000
changeset 9854
5142367baa4a
parent 9853
115abde301d3
child 9855
7c63808983ad

[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;

mercurial