diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-20 01:21:08 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-20 01:21:08 +0000 |
| commit | 63c10ea49627209703d9160e3b47445f07b23f0e (patch) | |
| tree | 930c376277b41528c698a92580ed49a90a31374f /src/qmail-remote/qmailr_tcpto.c | |
| parent | f68c2cb9874652bbdde21704c55905c673f1fa98 (diff) | |
| download | smtpd-starttls-proxy-63c10ea49627209703d9160e3b47445f07b23f0e.tar.gz | |
Prepare for 0.1.1.0; add --qmailrundir
Diffstat (limited to 'src/qmail-remote/qmailr_tcpto.c')
| -rw-r--r-- | src/qmail-remote/qmailr_tcpto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmail-remote/qmailr_tcpto.c b/src/qmail-remote/qmailr_tcpto.c index c015d21..3f25a95 100644 --- a/src/qmail-remote/qmailr_tcpto.c +++ b/src/qmail-remote/qmailr_tcpto.c @@ -40,7 +40,7 @@ int qmailr_tcpto_match (char const *ip, int is6) { - char const *file = is6 ? SMTPD_STARTTLS_PROXY_QMAIL_HOME "/run/qmail-remote/tcpto6" : SMTPD_STARTTLS_PROXY_QMAIL_HOME "/queue/lock/tcpto" ; + char const *file = is6 ? SMTPD_STARTTLS_PROXY_QMAIL_RUN "/qmail-remote/tcpto6" : SMTPD_STARTTLS_PROXY_QMAIL_HOME "/queue/lock/tcpto" ; uint32_t iplen = is6 ? 16 : 4 ; uint32_t width = iplen + 12 ; int r = 0 ; @@ -83,7 +83,7 @@ int qmailr_tcpto_match (char const *ip, int is6) int qmailr_tcpto_update (char const *ip, int is6, int problem) { - char const *file = is6 ? SMTPD_STARTTLS_PROXY_QMAIL_HOME "/run/qmail-remote/tcpto6" : SMTPD_STARTTLS_PROXY_QMAIL_HOME "/queue/lock/tcpto" ; + char const *file = is6 ? SMTPD_STARTTLS_PROXY_QMAIL_RUN "/qmail-remote/tcpto6" : SMTPD_STARTTLS_PROXY_QMAIL_HOME "/queue/lock/tcpto" ; uint32_t iplen = is6 ? 16 : 4 ; uint32_t width = iplen + 12 ; uint32_t n ; |
