Mercurial > pidgin
changeset 10855:2d3a935462aa
[gaim-migrate @ 12530]
"
Enclosed is a patch for the Toolkit 0.9.14, just released, that had a API
change. Please commit, for without this patch Gaim can segfault.
" --Pekka
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 20 Apr 2005 03:54:02 +0000 |
parents | bdd72261ec8c |
children | 6132e58aa618 |
files | src/protocols/silc/ops.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/silc/ops.c Wed Apr 20 01:16:17 2005 +0000 +++ b/src/protocols/silc/ops.c Wed Apr 20 03:54:02 2005 +0000 @@ -1246,6 +1246,14 @@ (void)va_arg(vp, SilcChannelEntry); name = va_arg(vp, char *); + if (!name) { + gaim_notify_error(gc, _("Roomlist"), _("Cannot get room list"), + silc_get_status_message(status)); + gaim_roomlist_set_in_progress(sg->roomlist, FALSE); + gaim_roomlist_unref(sg->roomlist); + sg->roomlist = NULL; + return; + } topic = va_arg(vp, char *); usercount = va_arg(vp, int);