]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Tue, 27 Nov 2001 23:21:56 +0000 (23:21 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 27 Nov 2001 23:21:56 +0000 (23:21 +0000)
shutup bogus ambiguous else compiler warning.

lib/bind/nameser/ns_samedomain.c

index 54735b2b57eaa5f4508876a5e1f46a59947a5b0f..52489309203134107135aa9117bbb3d7a003ad26 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: ns_samedomain.c,v 1.1 2001/03/29 06:31:57 marka Exp $";
+static const char rcsid[] = "$Id: ns_samedomain.c,v 1.1.2.1 2001/11/27 23:21:56 gson Exp $";
 #endif
 
 #include "port_before.h"
@@ -125,12 +125,12 @@ ns_samedomain(const char *a, const char *b) {
         */
        escaped = 0;
        for (i = diff - 2; i >= 0; i--)
-               if (a[i] == '\\')
+               if (a[i] == '\\') {
                        if (escaped)
                                escaped = 0;
                        else
                                escaped = 1;
-               else
+               else
                        break;
        if (escaped)
                return (0);