Mercurial > pidgin
changeset 21860:f23c41e65f63
Use g_sterror instead of strerror in two more places.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 18 Dec 2007 07:37:55 +0000 |
parents | 42cf060f1c76 |
children | eb9f928a369d |
files | pidgin/gtkutils.c pidgin/plugins/crazychat/cc_network.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;