diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 19:03:11 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 19:03:11 +0200 |
commit | 20b85c03e751b4876fa3c92040464e483172b746 (patch) | |
tree | 734fadbfdbc143ec4465093857f4c239448715e0 /src/qmail-qmaint.c | |
parent | a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f (diff) |
manual format adjustment
Diffstat (limited to 'src/qmail-qmaint.c')
-rw-r--r-- | src/qmail-qmaint.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/qmail-qmaint.c b/src/qmail-qmaint.c index 70605c8..df789e4 100644 --- a/src/qmail-qmaint.c +++ b/src/qmail-qmaint.c @@ -591,26 +591,32 @@ void fnmake_init() { while (!stralloc_ready(&fn, FMTQFN)) die_nomem(); } + void fnmake_local(unsigned long id) { fn.len = fmtqfn(fn.s, "local/", id, 1); } + void fnmake_remote(unsigned long id) { fn.len = fmtqfn(fn.s, "remote/", id, 1); } + void fnmake_mess(unsigned long id) { fn.len = fmtqfn(fn.s, "mess/", id, 1); } + void fnmake_dkim(unsigned long id) { fn.len = fmtqfn(fn.s, "dkim/", id, 1); } + void fnmake_info(unsigned long id) { fn.len = fmtqfn(fn.s, "info/", id, 1); } + void fnmake_bounce(unsigned long id) { fn.len = fmtqfn(fn.s, "bounce/", id, 0); @@ -715,8 +721,9 @@ int main(int argc, char **argv) if (flag_delete) { if (!delete_msg(id)) logmsg(WHO, 0, INFO, B("file ", mess, " from queue deleted.")); - } else if (fix_names()) + } else if (fix_names()) { die_check(); + } logmsg(WHO, 0, INFO, "done."); |