src/protocols/jabber/message.c

changeset 13766
6b92ce47f7e5
parent 13708
37d5bc24e5bf
child 13808
411ee56da344
equal deleted inserted replaced
13765:3db4ba7f3482 13766:6b92ce47f7e5
229 229
230 if(!jm->body) 230 if(!jm->body)
231 return; 231 return;
232 232
233 buf = g_strdup_printf(_("Message delivery to %s failed: %s"), 233 buf = g_strdup_printf(_("Message delivery to %s failed: %s"),
234 jm->from, jm->error); 234 jm->from, jm->error ? jm->error : "");
235 235
236 gaim_notify_formatted(jm->js->gc, _("Jabber Message Error"), _("Jabber Message Error"), buf, 236 gaim_notify_formatted(jm->js->gc, _("Jabber Message Error"), _("Jabber Message Error"), buf,
237 jm->xhtml ? jm->xhtml : jm->body, NULL, NULL); 237 jm->xhtml ? jm->xhtml : jm->body, NULL, NULL);
238 238
239 g_free(buf); 239 g_free(buf);

mercurial