Mercurial > pidgin.yaz
changeset 13764:8d972f41b4de
[gaim-migrate @ 16176]
Fix bug# 1464061. I haven't fixed a bug in forever and I needed a break from my old house plumbing nightmares. It seems that some versions of ejabberd don't necessarily provide an error element and we should probably not crash when this happens.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 11 May 2006 01:35:30 +0000 |
parents | fd708f52defd |
children | 13b7e59a0759 |
files | src/protocols/jabber/message.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/jabber/message.c Wed May 10 17:33:51 2006 +0000 +++ b/src/protocols/jabber/message.c Thu May 11 01:35:30 2006 +0000 @@ -231,7 +231,7 @@ return; buf = g_strdup_printf(_("Message delivery to %s failed: %s"), - jm->from, jm->error); + jm->from, jm->error ? jm->error : ""); gaim_notify_formatted(jm->js->gc, _("Jabber Message Error"), _("Jabber Message Error"), buf, jm->xhtml ? jm->xhtml : jm->body, NULL, NULL);