diff options
author | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 22:05:52 +0200 |
---|---|---|
committer | Jannis Hoffmann <jannis@fehcom.de> | 2024-07-03 22:05:52 +0200 |
commit | e6e9663d40f7aab9e1982dddcaa11386551ad182 (patch) | |
tree | 39c2a34aa78d4723e8308d270e872f61da3818ca /src/qmail-smtpam.c | |
parent | 20b85c03e751b4876fa3c92040464e483172b746 (diff) |
fix issues preventing compilationjannis
Diffstat (limited to 'src/qmail-smtpam.c')
-rw-r--r-- | src/qmail-smtpam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmail-smtpam.c b/src/qmail-smtpam.c index 77f0718..75c0c65 100644 --- a/src/qmail-smtpam.c +++ b/src/qmail-smtpam.c @@ -213,9 +213,9 @@ void dropped() zerodie(); } -int timeoutconnect = 60; +long timeoutconnect = 60; int smtpfd; -int timeout = 1200; +long timeout = 1200; ssize_t saferead(int fd, char *buf, int len) { @@ -661,7 +661,7 @@ int main(int argc, char **argv) } } - r = timeoutconn(smtpfd, &ip.ix[i].addr, (unsigned int)port, timeoutconnect, ifidx); + r = timeoutconn(smtpfd, ip.ix[i].addr.ip4.d, (unsigned int)port, timeoutconnect, ifidx); if (r == 0) { tcpto_err(&ip.ix[i], 0); partner = ip.ix[i]; |