You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/07/12 16:56:23 UTC

[Bug 3597] New: some spamd functions have inverse return codes

http://bugzilla.spamassassin.org/show_bug.cgi?id=3597

           Summary: some spamd functions have inverse return codes
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P5
         Component: spamc/spamd
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: felicity@kluge.net


There was a discussion about this type of thing on sa-dev a while ago...  We
ended up deciding that in the perl tradition "0" is an error code and "1" is
"ok", as returned from a function.  However, several functions in spamd do the
opposite:

check()
parse_headers()
got_user_header()
got_clen_header()

Since these are all spamd-internal functions, I don't think it's a big issue
right now, but we ought to fix it for a later version.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.