diff options
author | Jules Colding <jcolding@src.gnome.org> | 2007-05-12 18:37:45 +0800 |
---|---|---|
committer | Jules Colding <jcolding@src.gnome.org> | 2007-05-12 18:37:45 +0800 |
commit | 82f23f8570582e5d2ad1d264dd58b97fa26b4959 (patch) | |
tree | b7e307917ca767ce9862496697bc6fbed51de416 /plugins | |
parent | 1dd540e02b505af0fa2662c090c92aa8ca8e37a6 (diff) | |
download | gsoc2013-evolution-82f23f8570582e5d2ad1d264dd58b97fa26b4959.tar.gz gsoc2013-evolution-82f23f8570582e5d2ad1d264dd58b97fa26b4959.tar.zst gsoc2013-evolution-82f23f8570582e5d2ad1d264dd58b97fa26b4959.zip |
Fix errno reset issue
svn path=/trunk/; revision=33516
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index 0cf5ff6caa..534f6673cd 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -143,10 +143,10 @@ pipe_to_sa_full (CamelMimeMessage *msg, const char *in, char **argv, int rv_err, } if (output_buffer && pipe (out_fds) == -1) { - close (fds [0]); - close (fds [1]); errnosav = errno; d(printf ("failed to create a pipe (for use with spamassassin: %s\n", strerror (errno))); + close (fds [0]); + close (fds [1]); errno = errnosav; return rv_err; } |