Mercurial > pidgin
diff libgaim/protocols/jabber/buddy.c @ 14607:f23506e8f812
[gaim-migrate @ 17335]
Get rid of some checks to make sure gc is valid. They shouldn't be
necessary (and a lot of them were poorly implemented anyway). Let
me know if you notice any crashes.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 22 Sep 2006 05:42:01 +0000 |
parents | 7df4ab213577 |
children | b598a78c4550 |
line wrap: on
line diff
--- a/libgaim/protocols/jabber/buddy.c Thu Sep 21 21:56:19 2006 +0000 +++ b/libgaim/protocols/jabber/buddy.c Fri Sep 22 05:42:01 2006 +0000 @@ -506,14 +506,8 @@ p = xmlnode_to_str(vc_node, NULL); xmlnode_free(vc_node); - if (gc != NULL) { - GaimAccount *account = gaim_connection_get_account(gc); - - if (account != NULL) { - gaim_account_set_user_info(account, p); - serv_set_info(gc, p); - } - } + gaim_account_set_user_info(gaim_connection_get_account(gc), p); + serv_set_info(gc, p); g_free(p); }