diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-02-08 15:27:04 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-02-08 15:27:04 +0000 |
| commit | ed02e1a94b532911e1d20364e1f396cefd5a0f7a (patch) | |
| tree | 525614b1e117c8e2cf5b9008538d22c01d998369 | |
| parent | e3b227137b7cbe3399a96b986bf029174d9c7902 (diff) | |
| download | smtpd-starttls-proxy-ed02e1a94b532911e1d20364e1f396cefd5a0f7a.tar.gz | |
bugfix!
| -rw-r--r-- | src/qmail-remote/smtproutes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmail-remote/smtproutes.c b/src/qmail-remote/smtproutes.c index 1791ba8..7fcfada 100644 --- a/src/qmail-remote/smtproutes.c +++ b/src/qmail-remote/smtproutes.c @@ -167,7 +167,7 @@ int smtproutes_init (smtproutes *routes) static char const *cdbfile = SMTPD_STARTTLS_PROXY_QMAIL_HOME "/run/qmail-remote/smtproutes.cdb" ; static char const *lckfile = SMTPD_STARTTLS_PROXY_QMAIL_HOME "/run/qmail-remote/smtproutes.lock" ; static char const *txtfile = SMTPD_STARTTLS_PROXY_QMAIL_HOME "/control/smtproutes" ; - static size_t const cdblen = sizeof(cdbfile) - 1 ; + static size_t const cdblen = sizeof(SMTPD_STARTTLS_PROXY_QMAIL_HOME "/run/qmail-remote/smtproutes.cdb") - 1 ; int fdl = openc_create(lckfile) ; if (fdl == -1) qmailr_tempusys("open ", "run/qmail-remote/smtproutes.lock") ; if (fd_lock(fdl, 1, 0) == -1) qmailr_tempusys("lock ", "run/qmail-remote/smtproutes.lock") ; |
