diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-02-08 10:19:13 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-02-08 10:19:13 +0000 |
| commit | 8742e419a129f4e6d08167b8b787255fa66eaecd (patch) | |
| tree | b51c25f625132a236d18ff0971a1a37237e0884b /src/qmail-remote | |
| parent | dde859092a1b884632ec2e22f5f0fa086363e7f1 (diff) | |
| download | smtpd-starttls-proxy-8742e419a129f4e6d08167b8b787255fa66eaecd.tar.gz | |
Better error messages...
Diffstat (limited to 'src/qmail-remote')
| -rw-r--r-- | src/qmail-remote/smtproutes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmail-remote/smtproutes.c b/src/qmail-remote/smtproutes.c index 987961c..1791ba8 100644 --- a/src/qmail-remote/smtproutes.c +++ b/src/qmail-remote/smtproutes.c @@ -200,10 +200,10 @@ int smtproutes_init (smtproutes *routes) memcpy(tmp, cdbfile, cdblen) ; memcpy(tmp + cdblen, ":XXXXXX", 8) ; fdc = mkstemp(tmp) ; - if (fdc == -1) qmailr_tempusys("mkstemp") ; + if (fdc == -1) qmailr_tempusys("mkstemp ", tmp) ; smtproutes_compile(fdr, fdc) ; if (lseek(fdc, 0, SEEK_SET) == -1) qmailr_tempusys("lseek") ; - if (fsync(fdc) == -1) qmailr_tempusys("fsync ", "run/qmail-remote/smtproutes.cdb") ; + if (fsync(fdc) == -1) qmailr_tempusys("fsync ", tmp) ; fd_close(fdr) ; if (rename(tmp, cdbfile) == -1) unlink_void(tmp) ; } |
