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-03 11:11:12 +0800
commitb4d7c0892ef5b329476a6c3689585ca60ca2d8b0 (patch)
treeafe0380f609d8cbcff02ce5426de5f91bec406bf /mail
parent20533c3be54a4e3fcb0ab23a15744d3093f8ad6f (diff)
downloadgsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.tar
gsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.tar.gz
gsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.tar.bz2
gsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.tar.lz
gsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.tar.xz
gsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.tar.zst
gsoc2013-evolution-b4d7c0892ef5b329476a6c3689585ca60ca2d8b0.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 99d691b1ca..5d26c13b3f 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 5d9386b6c0..0eb6c9414c 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2091,7 +2091,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;