aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmail-remote/qmail-remote-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmail-remote/qmail-remote-io.c')
-rw-r--r--src/qmail-remote/qmail-remote-io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qmail-remote/qmail-remote-io.c b/src/qmail-remote/qmail-remote-io.c
index a855c20..b7e9f8c 100644
--- a/src/qmail-remote/qmail-remote-io.c
+++ b/src/qmail-remote/qmail-remote-io.c
@@ -133,7 +133,7 @@ static inline void smtp_body (buffer *in, buffer *out, char const *fmtip, char c
put(out, "MAIL FROM:<") ;
put(out, sender) ;
put(out, ">\r\n") ;
- tain_addsec_g(&deadline, timeout) ;
+ qdeadline(&deadline, timeout) ;
if (!buffer_timed_flush_g(out, &deadline))
qmailr_tempsys("qmail-remote-io: ", "unable to ", "send command to ", fmtip) ;
code = read_answer(in, timeout, buf, 4096, fmtip) ;
@@ -153,7 +153,7 @@ static inline void smtp_body (buffer *in, buffer *out, char const *fmtip, char c
put(out, "RCPT TO:<") ;
put(out, recip[i]) ;
put(out, ">\r\n") ;
- tain_addsec_g(&deadline, timeout) ;
+ qdeadline(&deadline, timeout) ;
if (!buffer_timed_flush_g(out, &deadline))
qmailr_tempsys("qmail-remote-io: ", "unable to ", "send command to ", fmtip) ;
code = read_answer(in, timeout, buf, 4096, fmtip) ;
@@ -180,7 +180,7 @@ static inline void smtp_body (buffer *in, buffer *out, char const *fmtip, char c
}
put(out, "DATA\r\n") ;
- tain_addsec_g(&deadline, timeout) ;
+ qdeadline(&deadline, timeout) ;
if (!buffer_timed_flush_g(out, &deadline))
qmailr_tempsys("qmail-remote-io: ", "unable to ", "send command to ", fmtip) ;
code = read_answer(in, timeout, buf, 4096, fmtip) ;