Mercurial > pidgin
diff src/gtkaccount.c @ 10967:77d26d0b7a0a
[gaim-migrate @ 12788]
sean: If it fixes it, commit it and add "Chris Toshok" to COPYRIGHT if he's not already there.
egeis: alright
Fixes a segfault logging in with a new account
committer: Tailor Script <tailor@pidgin.im>
author | Christopher O'Brien <siege@pidgin.im> |
---|---|
date | Sun, 05 Jun 2005 02:40:19 +0000 |
parents | 3ad0e7351826 |
children | 845a0dd5ca45 |
line wrap: on
line diff
--- a/src/gtkaccount.c Sat Jun 04 23:03:14 2005 +0000 +++ b/src/gtkaccount.c Sun Jun 05 02:40:19 2005 +0000 @@ -1549,7 +1549,7 @@ /* XXX: make the new account sign on with the currently active global status * instead of hardcoding "online" */ if (new) - gaim_presence_set_status_active(dialog->account->presence, "online", TRUE); + gaim_presence_set_status_active(ret->presence, "online", TRUE); return ret; }