Mercurial > pidgin.yaz
comparison src/protocols/zephyr/zephyr.c @ 10690:5c6326fe4190
[gaim-migrate @ 12241]
Zephyr fixes from Derrick J Brashear
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 13 Mar 2005 23:30:33 +0000 |
parents | 0f7452b1f777 |
children | c4cb90065e1d |
comparison
equal
deleted
inserted
replaced
10689:04e61e64db63 | 10690:5c6326fe4190 |
---|---|
672 /* Called when the server notifies us a message couldn't get sent */ | 672 /* Called when the server notifies us a message couldn't get sent */ |
673 | 673 |
674 static void message_failed(GaimConnection *gc, ZNotice_t notice, struct sockaddr_in from) | 674 static void message_failed(GaimConnection *gc, ZNotice_t notice, struct sockaddr_in from) |
675 { | 675 { |
676 if (g_ascii_strcasecmp(notice.z_class, "message")) { | 676 if (g_ascii_strcasecmp(notice.z_class, "message")) { |
677 gchar* chat_failed = g_strdup_printf(_("Unable send to chat %s,%s,%s"),notice.z_class,notice.z_class_inst,notice.z_recipient); | 677 gchar* chat_failed = g_strdup_printf(_("Unable to send to chat %s,%s,%s"),notice.z_class,notice.z_class_inst,notice.z_recipient); |
678 gaim_notify_error(gc,"",chat_failed,NULL); | 678 gaim_notify_error(gc,"",chat_failed,NULL); |
679 g_free(chat_failed); | 679 g_free(chat_failed); |
680 } else { | 680 } else { |
681 gaim_notify_error(gc, notice.z_recipient, _("User is offline"), NULL); | 681 gaim_notify_error(gc, notice.z_recipient, _("User is offline"), NULL); |
682 } | 682 } |