Mercurial > pidgin
comparison libpurple/protocols/irc/parse.c @ 23026:f47438e456c2
applied changes from 904a276588f7de13ba13b578905c82c0493184ce
through 4dd6e06680aebbca6a326930f5fff7e65ed87802
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 19 Jun 2008 03:11:47 +0000 |
parents | ef4ac2a83e1c |
children | 5c70d953a497 |
comparison
equal
deleted
inserted
replaced
23025:2565ccc4898c | 23026:f47438e456c2 |
---|---|
708 g_free(from); | 708 g_free(from); |
709 } | 709 } |
710 | 710 |
711 static void irc_parse_error_cb(struct irc_conn *irc, char *input) | 711 static void irc_parse_error_cb(struct irc_conn *irc, char *input) |
712 { | 712 { |
713 purple_debug(PURPLE_DEBUG_WARNING, "irc", "Unrecognized string: %s\n", input); | 713 char *clean; |
714 } | 714 /* This really should be escaped somehow that you can tell what |
715 * the junk was -- but as it is, it can crash glib. */ | |
716 clean = purple_utf8_salvage(input); | |
717 purple_debug(PURPLE_DEBUG_WARNING, "irc", "Unrecognized string: %s\n", clean); | |
718 g_free(clean); | |
719 } |