Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
9853:3d2cc7c50508 | 9854:e389922bdea7 |
---|---|
271 | 271 |
272 gboolean | 272 gboolean |
273 gaim_connection_disconnect_cb(gpointer data) | 273 gaim_connection_disconnect_cb(gpointer data) |
274 { | 274 { |
275 GaimAccount *account = data; | 275 GaimAccount *account = data; |
276 GaimConnection *gc = gaim_account_get_connection(account); | |
276 | 277 |
277 if (!gaim_account_get_remember_password(account)) | 278 if (!gaim_account_get_remember_password(account)) |
278 gaim_account_set_password(account,NULL); | 279 gaim_account_set_password(account,NULL); |
279 | 280 |
280 GaimConnection *gc = gaim_account_get_connection(account); | 281 if (gc) |
281 | |
282 if(gc) | |
283 gaim_connection_disconnect(gc); | 282 gaim_connection_disconnect(gc); |
284 | 283 |
285 return FALSE; | 284 return FALSE; |
286 } | 285 } |
287 | 286 |