#include <fcntl.h>
#include <stdarg.h>
#include <sys/wait.h>
+#include <sysexits.h>
#include "cond.tab.h"
#include "umpf.h"
#define INT_TO_STRING_LEN ((sizeof(int)*4*CHAR_BIT)/10 + 6)
-static void __attribute__ ((noreturn))
+void __attribute__ ((noreturn))
bye(int code, char* msg, ...)
{
va_list args;
if (!copy) {
if (res)
- bye(-res, "%m");
+ bye(EX_TEMPFAIL, "%m");
else
bye(0, NULL);
}
destroy_email(em);
if (!copy) {
if (res)
- bye(-res, "%m");
+ bye(EX_TEMPFAIL, "%m");
else
bye(0, NULL);
}