summaryrefslogtreecommitdiff
path: root/src/qmail-queue.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-03 19:03:11 +0200
commit20b85c03e751b4876fa3c92040464e483172b746 (patch)
tree734fadbfdbc143ec4465093857f4c239448715e0 /src/qmail-queue.c
parenta6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff)
manual format adjustment
Diffstat (limited to 'src/qmail-queue.c')
-rw-r--r--src/qmail-queue.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qmail-queue.c b/src/qmail-queue.c
index ee9a3df..26807b2 100644
--- a/src/qmail-queue.c
+++ b/src/qmail-queue.c
@@ -62,25 +62,30 @@ void die(int e)
{
_exit(e);
}
+
void die_qhpsi()
{
cleanup();
die(71);
}
+
void die_write()
{
cleanup();
die(53);
}
+
void die_read()
{
cleanup();
die(54);
}
+
void sigalrm()
{ /* thou shalt not clean up here */
die(52);
}
+
void sigbug()
{
die(81);
@@ -263,8 +268,9 @@ void qhpsiprog(char *arg)
if (childrc == qhpsirc) {
cleanup();
die(32);
- } else if (childrc != 0)
+ } else if (childrc != 0) {
die_qhpsi();
+ }
}
}