qmail-queue uses hard coded exit codes in qmail.c. This creates a problem for any code that uses qmail_open(). They too have to use this hard-coded exit codes. Having this exit codes defined in qmail.h as defines simplifies qmail_open() and also reduces the chances of using the wrong exit code.
qmail-queue uses hard coded exit codes in qmail.c. This creates a problem for any code that uses qmail_open(). They too have to use this hard-coded exit codes. Having this exit codes defined in qmail.h as defines simplifies qmail_open() and also reduces the chances of using the wrong exit code.