diff libpurple/protocols/oscar/oscar.c @ 29001:ca0f113fee11

Remove an unneeded debug log, which Mark points out might also be unsafe as it would be using %s as a formatter for a UTF-16BE string
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 22 Nov 2009 23:05:51 +0000
parents 10a18f1ecb66
children 1929b7a0c2c8 ce29013a5f3a
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Sun Nov 22 22:39:51 2009 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sun Nov 22 23:05:51 2009 +0000
@@ -577,7 +577,7 @@
 		return;
 	}
 
-	purple_debug_info("oscar", "Conversion from UTF-8 to %s failed (%s), falling back to unicode.\n",
+	purple_debug_info("oscar", "Conversion from UTF-8 to %s failed (%s). Falling back to unicode.\n",
 					  charsetstr, err->message);
 	g_error_free(err);
 	err = NULL;
@@ -587,9 +587,6 @@
 	 */
 	*msg = g_convert(from, -1, "UTF-16BE", "UTF-8", NULL, &msglen, &err);
 	if (*msg != NULL) {
-		purple_debug_info("oscar", "Conversion from UTF-8 to UTF-16BE results in %s.\n",
-						  *msg);
-
 		*charset = AIM_CHARSET_UNICODE;
 		*charsubset = 0x0000;
 		*msglen_int = msglen;