Mercurial > pidgin
changeset 6807:ff477c28df7b
[gaim-migrate @ 7347]
this should fix the crash some people have been getting at signon with jabber
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 10 Sep 2003 16:46:40 +0000 |
parents | 85daebe9b719 |
children | fce1bb126900 |
files | src/blist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Wed Sep 10 16:46:01 2003 +0000 +++ b/src/blist.c Wed Sep 10 16:46:40 2003 +0000 @@ -851,7 +851,8 @@ node->next->prev = gnode; node->next = gnode; } else { - gaimbuddylist->root->prev = gnode; + if(gaimbuddylist->root) + gaimbuddylist->root->prev = gnode; gnode->next = gaimbuddylist->root; gnode->prev = NULL; gaimbuddylist->root = gnode;