im.pidgin.pidgin: 43f59273fcae687e1b252460cebdf2f12f2fde6f

markdoliner at pidgin.im markdoliner at pidgin.im
Tue Dec 18 02:41:04 EST 2007


-----------------------------------------------------------------
Revision: 43f59273fcae687e1b252460cebdf2f12f2fde6f
Ancestor: e0eabac69254edb27d4593284b26558fddc089da
Author: markdoliner at pidgin.im
Date: 2007-12-18T07:37:55
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkutils.c pidgin/plugins/crazychat/cc_network.c

ChangeLog: 

Use g_sterror instead of strerror in two more places.

-------------- next part --------------
============================================================
--- pidgin/gtkutils.c	10526b7d16d7cef4392b3b5cd1488b8d0fb76b13
+++ pidgin/gtkutils.c	03ac004ec067a20f8ca29ff067b12c0b7e969dfb
@@ -1399,7 +1399,7 @@ static void dnd_image_ok_callback(_DndDa
 			char *str;
 
 			str = g_strdup_printf(_("The following error has occurred loading %s: %s"),
-						data->filename, strerror(errno));
+						data->filename, g_strerror(errno));
 			purple_notify_error(NULL, NULL,
 					  _("Failed to load image"),
 					  str);
============================================================
--- pidgin/plugins/crazychat/cc_network.c	5ba74b712b8da96daba4f4add65b63c79c769e8e
+++ pidgin/plugins/crazychat/cc_network.c	87d51ddc5e486474b0ecede2d5d057a98eea4036
@@ -529,7 +529,7 @@ static int __send(int s, char *buf, int 
 	while (total < len) {
 		n = send(s, buf + total, bytesleft, 0);
 		if (n == -1) {
-			Debug("ERROR: %s\n", strerror(errno));
+			Debug("ERROR: %s\n", g_strerror(errno));
 			return -1;
 		}
 		total += n;


More information about the Commits mailing list