Mercurial > pidgin
changeset 1061:04cce2035541
[gaim-migrate @ 1071]
this should put an end to a few of the stupid buddy list segfaults i've seen so far
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 04 Nov 2000 00:19:15 +0000 |
parents | 2c4f958c596e |
children | 9446ac58745e |
files | src/buddy.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Fri Nov 03 23:19:44 2000 +0000 +++ b/src/buddy.c Sat Nov 04 00:19:15 2000 +0000 @@ -1519,11 +1519,11 @@ } update_idle_time(bs); } else { - play_sound(BUDDY_LEAVE); gs = find_group_show(g->name); + if (!gs) return; bs = find_buddy_show(gs, b->name); - if (!bs) - return; + if (!bs) return; + play_sound(BUDDY_LEAVE); bs->connlist = g_slist_remove(bs->connlist, gc); if (bs->log_timer > 0) gtk_timeout_remove(bs->log_timer);