aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-03 11:11:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-04 00:47:50 +0800
commitdef73166fcfd6b5517592ec6d04a8eb3871bd1f7 (patch)
treed2d62d7c5a5a43ffd8b07cedde249eef7cb2c218 /mail
parent4491d3ffd8dee15a3ba71dde5eb234806b121fdf (diff)
downloadgsoc2013-evolution-def73166fcfd6b5517592ec6d04a8eb3871bd1f7.tar.gz
gsoc2013-evolution-def73166fcfd6b5517592ec6d04a8eb3871bd1f7.tar.zst
gsoc2013-evolution-def73166fcfd6b5517592ec6d04a8eb3871bd1f7.zip
Bug 572977 – Use g_strerror() instead of strerror()
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-mt.c2
-rw-r--r--mail/mail-ops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index a70093e855..566d5ecd6f 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -111,7 +111,7 @@ mail_msg_new (MailMsgInfo *info)
fprintf(log, "%" G_GINT64_MODIFIER "x: lock mail_msg_lock\n", e_util_pthread_id(pthread_self()));
}
} else {
- g_warning ("Could not open log file: %s", strerror(errno));
+ g_warning ("Could not open log file: %s", g_strerror(errno));
log_ops = log_locks = FALSE;
}
}
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index b8e442102f..939d3d2dd8 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2104,7 +2104,7 @@ save_messages_exec (struct _save_messages_msg *m)
|| camel_data_wrapper_write_to_stream((CamelDataWrapper *)message, (CamelStream *)filtered_stream) == -1
|| camel_stream_flush((CamelStream *)filtered_stream) == -1) {
camel_exception_setv(&m->base.ex, CAMEL_EXCEPTION_SYSTEM,
- _("Error saving messages to: %s:\n %s"), m->path, strerror(errno));
+ _("Error saving messages to: %s:\n %s"), m->path, g_strerror(errno));
g_free(from);
camel_object_unref((CamelObject *)message);
break;