/pidgin/main: e18fa71725c8: Add logging.

Mark Doliner mark at kingant.net
Tue Jan 28 10:38:13 EST 2014


Changeset: e18fa71725c8228065a1e3eb63499670b85f497e
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2014-01-18 15:19 -0800
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/e18fa71725c8

Description:

Add logging.

diffstat:

 libpurple/protocols/yahoo/util.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/yahoo/util.c b/libpurple/protocols/yahoo/util.c
--- a/libpurple/protocols/yahoo/util.c
+++ b/libpurple/protocols/yahoo/util.c
@@ -165,6 +165,8 @@ char *yahoo_string_decode(PurpleConnecti
 	if (utf8) {
 		if (g_utf8_validate(str, -1, NULL))
 			return g_strdup(str);
+		purple_debug_warning("yahoo", "Server told us a string was supposed "
+				"to be UTF-8, but it was not. Will try another encoding.\n");
 	}
 
 	if (yd->jp)



More information about the Commits mailing list