libpurple/protocols/irc/parse.c

changeset 23433
0094a64519cb
parent 23392
9268a4fc4786
child 23532
bc03c7494ba4
equal deleted inserted replaced
23432:f2998a35ba3b 23433:0094a64519cb
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 }

mercurial