| 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 } |