| 730 } |
730 } |
| 731 |
731 |
| 732 static void irc_parse_error_cb(struct irc_conn *irc, char *input) |
732 static void irc_parse_error_cb(struct irc_conn *irc, char *input) |
| 733 { |
733 { |
| 734 char *clean; |
734 char *clean; |
| 735 /* This really should be escaped somehow that you can tell what |
735 /* This really should be escaped somehow that you can tell what |
| 736 * the junk was -- but as it is, it can crash glib. */ |
736 * the junk was -- but as it is, it can crash glib. */ |
| 737 clean = purple_utf8_salvage(input); |
737 clean = purple_utf8_salvage(input); |
| 738 purple_debug(PURPLE_DEBUG_WARNING, "irc", "Unrecognized string: %s\n", clean); |
738 purple_debug(PURPLE_DEBUG_WARNING, "irc", "Unrecognized string: %s\n", clean); |
| 739 g_free(clean); |
739 g_free(clean); |
| 740 } |
740 } |