Tue, 18 Dec 2007 07:37:55 +0000
Use g_sterror instead of strerror in two more places.
| pidgin/gtkutils.c | file | annotate | diff | comparison | revisions | |
| pidgin/plugins/crazychat/cc_network.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/gtkutils.c Tue Dec 18 06:29:46 2007 +0000 +++ b/pidgin/gtkutils.c Tue Dec 18 07:37:55 2007 +0000 @@ -1399,7 +1399,7 @@ 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);
--- a/pidgin/plugins/crazychat/cc_network.c Tue Dec 18 06:29:46 2007 +0000 +++ b/pidgin/plugins/crazychat/cc_network.c Tue Dec 18 07:37:55 2007 +0000 @@ -529,7 +529,7 @@ 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;