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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to