don't have getmxrr return 1 for unknown addresses
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 20 May 1995 08:10:20 +0000 (00:10 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 20 May 1995 08:10:20 +0000 (00:10 -0800)
SCCS-vsn: usr.sbin/sendmail/src/domain.c 8.39

usr/src/usr.sbin/sendmail/src/domain.c

index 988a9a0..698ff72 100644 (file)
@@ -10,9 +10,9 @@
 
 #ifndef lint
 #if NAMED_BIND
 
 #ifndef lint
 #if NAMED_BIND
-static char sccsid[] = "@(#)domain.c   8.38 (Berkeley) %G% (with name server)";
+static char sccsid[] = "@(#)domain.c   8.39 (Berkeley) %G% (with name server)";
 #else
 #else
-static char sccsid[] = "@(#)domain.c   8.38 (Berkeley) %G% (without name server)";
+static char sccsid[] = "@(#)domain.c   8.39 (Berkeley) %G% (without name server)";
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
@@ -313,9 +313,9 @@ punt:
                                *bp = '\0';
                                buflen--;
                        }
                                *bp = '\0';
                                buflen--;
                        }
+                       nmx = 1;
                }
                bp++;
                }
                bp++;
-               nmx = 1;
        }
 
        /* if we have a default lowest preference, include that */
        }
 
        /* if we have a default lowest preference, include that */