fix whitespace and indentation, by Kyle Milz
authorgilles <gilles@openbsd.org>
Tue, 6 Jan 2015 09:32:13 +0000 (09:32 +0000)
committergilles <gilles@openbsd.org>
Tue, 6 Jan 2015 09:32:13 +0000 (09:32 +0000)
usr.sbin/smtpd/dns.c

index a003524..6f83247 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: dns.c,v 1.79 2014/10/08 07:23:39 eric Exp $   */
+/*     $OpenBSD: dns.c,v 1.80 2015/01/06 09:32:13 gilles Exp $ */
 
 /*
  * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -244,7 +244,7 @@ dns_imsg(struct mproc *p, struct imsg *imsg)
                }
 
                as = res_query_async(s->name, C_IN, T_MX, NULL);
-               if (as ==  NULL) {
+               if (as == NULL) {
                        log_warn("warn: req_query_async: %s", s->name);
                        m_create(s->p, IMSG_MTA_DNS_HOST_END, 0, 0, -1);
                        m_add_id(s->p, s->reqid);
@@ -341,7 +341,7 @@ dns_dispatch_mx(struct asr_result *ar, void *arg)
        struct unpack            pack;
        struct dns_header        h;
        struct dns_query         q;
-       struct dns_rr    rr;
+       struct dns_rr            rr;
        char                     buf[512];
        size_t                   found;