NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/42874: Misplaced } in external/ibm-public/postfix/dist/src/util/inet_addr_local.c



>Number:         42874
>Category:       bin
>Synopsis:       Misplaced } in 
>external/ibm-public/postfix/dist/src/util/inet_addr_local.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 23 09:05:00 +0000 2010
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced } in external/ibm-public/postfix/dist/src/util/inet_addr_local.c.
>How-To-Repeat:

>Fix:
diff -u -r1.1.1.1 inet_addr_local.c
--- external/ibm-public/postfix/dist/src/util/inet_addr_local.c 23 Jun 2009 
10:09:00 -0000      1.1.1.1
+++ external/ibm-public/postfix/dist/src/util/inet_addr_local.c 14 Feb 2010 
07:45:53 -0000
@@ -288,8 +288,9 @@
                lifr = NEXT_INTERFACE(lifr);
                continue;
            }
+       }
 #ifdef HAS_IPV6
-       } else if (af == AF_INET6) {
+       else if (af == AF_INET6) {
            if (IN6_IS_ADDR_UNSPECIFIED(&SOCK_ADDR_IN6_ADDR(sa))) {
                lifr = NEXT_INTERFACE(lifr);
                continue;



Home | Main Index | Thread Index | Old Index