Mercurial > pidgin
comparison libpurple/connection.c @ 30222:1c20a2115ad4
I'm sure there's a legitimate reason I had this change locally in one of my
trees waiting to be committed, but I can't remember what exactly it is (and
I need to test commit emails again)
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 30 Jun 2010 01:46:42 +0000 |
parents | 378cceb9131d |
children | 53f51201b39f |
comparison
equal
deleted
inserted
replaced
30221:6a3aaa4e5e56 | 30222:1c20a2115ad4 |
---|---|
514 char *password; | 514 char *password; |
515 | 515 |
516 account = data; | 516 account = data; |
517 gc = purple_account_get_connection(account); | 517 gc = purple_account_get_connection(account); |
518 | 518 |
519 gc->disconnect_timeout = 0; | 519 if (gc != NULL) |
520 gc->disconnect_timeout = 0; | |
520 | 521 |
521 password = g_strdup(purple_account_get_password(account)); | 522 password = g_strdup(purple_account_get_password(account)); |
522 purple_account_disconnect(account); | 523 purple_account_disconnect(account); |
523 purple_account_set_password(account, password); | 524 purple_account_set_password(account, password); |
524 g_free(password); | 525 g_free(password); |