On 9/26/2014 10:01 AM, David F. Skoll wrote:
From looking at the code, I think maybe I should have a return
status on my function so I've added return 0; If I'm right, I think
perhaps the man page could be a bit more effusive on that point?
Well, it currently reads:
The return value from filter_cleanup becomes the slave's exit
status.
I guess I can change it to:
The return value from filter_cleanup becomes the slave's exit
status, so make sure filter_cleanup returns an integer suitable for
a process exit status.
I agree it's there. It just seemed easy to gloss over. Perhaps an
example such as return 0 for ok and anything else for an error ;-) Or
even a little mini-stub in an example filter.
regards,
KAM
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID. You may ignore it.
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang