You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2004/04/28 04:11:47 UTC
svn commit: rev 10337 - in incubator/spamassassin/trunk: spamc t
Author: jm
Date: Tue Apr 27 19:11:46 2004
New Revision: 10337
Modified:
incubator/spamassassin/trunk/spamc/libspamc.c
incubator/spamassassin/trunk/t/uri.t
Log:
bug 2769: message_filter() reportedly returned the wrong error codes
Modified: incubator/spamassassin/trunk/spamc/libspamc.c
==============================================================================
--- incubator/spamassassin/trunk/spamc/libspamc.c (original)
+++ incubator/spamassassin/trunk/spamc/libspamc.c Tue Apr 27 19:11:46 2004
@@ -948,7 +948,7 @@
free(m->out);
m->out = m->msg;
m->out_len = m->msg_len;
- return EX_OSERR;
+ return rc; /* use the error code try_to_connect_*() gave us. */
}
if (flags & SPAMC_USE_SSL) {
Modified: incubator/spamassassin/trunk/t/uri.t
==============================================================================
--- incubator/spamassassin/trunk/t/uri.t (original)
+++ incubator/spamassassin/trunk/t/uri.t Tue Apr 27 19:11:46 2004
@@ -21,7 +21,7 @@
use Mail::SpamAssassin::HTML;
use Mail::SpamAssassin::Util;
-plan tests => 55;
+plan tests => 56;
##############################################