changeset 22106:06c58cffd4c4

I forgot that we're supposed to be using g_strerror() to guarantee a UTF-8 error message. My bad
author Mark Doliner <mark@kingant.net>
date Mon, 14 Jan 2008 06:44:14 +0000
parents 32992e2526e4
children bfe1854bbf87
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Mon Jan 14 06:32:16 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Mon Jan 14 06:44:14 2008 +0000
@@ -1547,7 +1547,7 @@
 		if (result < 0)
 			purple_debug_error("oscar", "Error writing %" G_GSIZE_FORMAT
 					" bytes to fetch AIM hash data: %s\n",
-					strlen(buf), strerror(errno));
+					strlen(buf), g_strerror(errno));
 		else
 			purple_debug_error("oscar", "Tried to write %"
 					G_GSIZE_FORMAT " bytes to fetch AIM hash data but "