Re: [patch] typo smtpd/dns.c

2017-05-31 Thread Edgar Pettijohn
Will do. I just don't trust Thunderbird not to mess them up.

⁣Sent from BlueMail ​

On May 31, 2017, 3:01 AM, at 3:01 AM, Gilles Chehade  wrote:
>On Tue, May 30, 2017 at 05:26:08PM -0500, Edgar Pettijohn wrote:
>> fix typo
>
>thanks, will commit
>
>when sending diffs, please inline them instead of attaching as it is
>easier for us to work with them that way
>
>Gilles
>
>
>> Index: dns.c
>> ===
>> RCS file: /cvs/src/usr.sbin/smtpd/dns.c,v
>> retrieving revision 1.83
>> diff -u -p -u -r1.83 dns.c
>> --- dns.c28 Oct 2015 07:28:13 -  1.83
>> +++ dns.c30 May 2017 22:09:15 -
>> @@ -246,7 +246,7 @@ dns_imsg(struct mproc *p, struct imsg *i
>>
>>  as = res_query_async(s->name, C_IN, T_MX, NULL);
>>  if (as == NULL) {
>> -log_warn("warn: req_query_async: %s", s->name);
>> +log_warn("warn: res_query_async: %s", s->name);
>>  m_create(s->p, IMSG_MTA_DNS_HOST_END, 0, 0, -1);
>>  m_add_id(s->p, s->reqid);
>>  m_add_int(s->p, DNS_EINVAL);
>
>
>--
>Gilles Chehade
>
>https://www.poolp.org
>@poolpOrg


Re: [patch] typo smtpd/dns.c

2017-05-31 Thread Gilles Chehade
On Tue, May 30, 2017 at 05:26:08PM -0500, Edgar Pettijohn wrote:
> fix typo

thanks, will commit

when sending diffs, please inline them instead of attaching as it is
easier for us to work with them that way

Gilles


> Index: dns.c
> ===
> RCS file: /cvs/src/usr.sbin/smtpd/dns.c,v
> retrieving revision 1.83
> diff -u -p -u -r1.83 dns.c
> --- dns.c 28 Oct 2015 07:28:13 -  1.83
> +++ dns.c 30 May 2017 22:09:15 -
> @@ -246,7 +246,7 @@ dns_imsg(struct mproc *p, struct imsg *i
>  
>   as = res_query_async(s->name, C_IN, T_MX, NULL);
>   if (as == NULL) {
> - log_warn("warn: req_query_async: %s", s->name);
> + log_warn("warn: res_query_async: %s", s->name);
>   m_create(s->p, IMSG_MTA_DNS_HOST_END, 0, 0, -1);
>   m_add_id(s->p, s->reqid);
>   m_add_int(s->p, DNS_EINVAL);


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



[patch] typo smtpd/dns.c

2017-05-30 Thread Edgar Pettijohn

fix typo
Index: dns.c
===
RCS file: /cvs/src/usr.sbin/smtpd/dns.c,v
retrieving revision 1.83
diff -u -p -u -r1.83 dns.c
--- dns.c	28 Oct 2015 07:28:13 -	1.83
+++ dns.c	30 May 2017 22:09:15 -
@@ -246,7 +246,7 @@ dns_imsg(struct mproc *p, struct imsg *i
 
 		as = res_query_async(s->name, C_IN, T_MX, NULL);
 		if (as == NULL) {
-			log_warn("warn: req_query_async: %s", s->name);
+			log_warn("warn: res_query_async: %s", s->name);
 			m_create(s->p, IMSG_MTA_DNS_HOST_END, 0, 0, -1);
 			m_add_id(s->p, s->reqid);
 			m_add_int(s->p, DNS_EINVAL);