mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
27 lines
766 B
Plaintext
27 lines
766 B
Plaintext
$NetBSD: patch-az,v 1.2 2014/12/06 23:22:20 jnemeth Exp $
|
|
|
|
--- sendmail/srvrsmtp.c.orig 2014-11-12 03:02:04.000000000 +0000
|
|
+++ sendmail/srvrsmtp.c
|
|
@@ -46,6 +46,10 @@ static bool tls_ok_srv = false;
|
|
static bool NotFirstDelivery = false;
|
|
#endif /* _FFR_DM_ONE */
|
|
|
|
+#if NAMED_BIND
|
|
+extern struct __res_state sm_res;
|
|
+#endif
|
|
+
|
|
/* server features */
|
|
#define SRV_NONE 0x0000 /* none... */
|
|
#define SRV_OFFER_TLS 0x0001 /* offer STARTTLS */
|
|
@@ -3983,8 +3987,8 @@ smtp_data(smtp, e)
|
|
id = e->e_id;
|
|
|
|
#if NAMED_BIND
|
|
- _res.retry = TimeOuts.res_retry[RES_TO_FIRST];
|
|
- _res.retrans = TimeOuts.res_retrans[RES_TO_FIRST];
|
|
+ sm_res.retry = TimeOuts.res_retry[RES_TO_FIRST];
|
|
+ sm_res.retrans = TimeOuts.res_retrans[RES_TO_FIRST];
|
|
#endif /* NAMED_BIND */
|
|
|
|
#if _FFR_PROXY
|