diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-03 11:11:12 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-03 11:11:12 +0800 |
commit | b4d7c0892ef5b329476a6c3689585ca60ca2d8b0 (patch) | |
tree | afe0380f609d8cbcff02ce5426de5f91bec406bf /plugins/sa-junk-plugin | |
parent | 20533c3be54a4e3fcb0ab23a15744d3093f8ad6f (diff) | |
download | gsoc2013-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 'plugins/sa-junk-plugin')
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index fb30833080..5114e9b386 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -141,16 +141,16 @@ pipe_to_sa_full (CamelMimeMessage *msg, const char *in, char **argv, int rv_err, if (pipe (fds) == -1) { errnosav = errno; - d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", strerror (errno))); - g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), strerror (errnosav)); + d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", g_strerror (errno))); + g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), g_strerror (errnosav)); errno = errnosav; return rv_err; } if (output_buffer && pipe (out_fds) == -1) { errnosav = errno; - d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", strerror (errno))); - g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), strerror (errnosav)); + d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", g_strerror (errno))); + g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), g_strerror (errnosav)); close (fds [0]); close (fds [1]); errno = errnosav; @@ -189,7 +189,7 @@ pipe_to_sa_full (CamelMimeMessage *msg, const char *in, char **argv, int rv_err, close (out_fds [1]); } if (errnosav != 0 && errnosav != -1) - g_set_error (error, EM_JUNK_ERROR, errnosav, _("Error after fork: %s"), strerror (errnosav)); + g_set_error (error, EM_JUNK_ERROR, errnosav, _("Error after fork: %s"), g_strerror (errnosav)); errno = errnosav; return rv_err; } |