# HG changeset patch # User Mark Doliner # Date 1197963475 0 # Node ID f23c41e65f6318ec8aa0f7b026799d93ac5efdc1 # Parent 42cf060f1c76f11a59074ee68ca956162003e2b1 Use g_sterror instead of strerror in two more places. diff -r 42cf060f1c76 -r f23c41e65f63 pidgin/gtkutils.c --- 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); diff -r 42cf060f1c76 -r f23c41e65f63 pidgin/plugins/crazychat/cc_network.c --- 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;