Mercurial > pidgin.yaz
diff src/buddy.c @ 4912:a6e9cd5e853e
[gaim-migrate @ 5246]
Danny Colascione (quotemstr) fixed a segfault when buddies sign on as you do.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 30 Mar 2003 18:45:49 +0000 |
parents | 50b77ae4cacf |
children | d9b6b5ae34e4 |
line wrap: on
line diff
--- a/src/buddy.c Sun Mar 30 13:12:50 2003 +0000 +++ b/src/buddy.c Sun Mar 30 18:45:49 2003 +0000 @@ -1265,6 +1265,10 @@ gtknode->timer = 0; } + /* For some reason, we're called before we have a buddy list sometimes */ + if(!gtkblist) + return; + if(gtkblist->selected_node == node) gtkblist->selected_node = NULL;