]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ipmaddr: add whitespace around =
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 14 Mar 2013 20:44:25 +0000 (13:44 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 14 Mar 2013 20:44:25 +0000 (13:44 -0700)
fix warning from parser

ip/ipmaddr.c

index 6e19465f0f660f05a1c95066e61728961651cab7..a77a18fbfdc0c41910cad085b8301c9205c695e2 100644 (file)
@@ -46,7 +46,7 @@ static void usage(void)
 
 static int parse_hex(char *str, unsigned char *addr, size_t size)
 {
-       int len=0;
+       int len = 0;
 
        while (*str && (len < 2 * size)) {
                int tmp;
@@ -75,7 +75,7 @@ static void maddr_ins(struct ma_info **lst, struct ma_info *m)
 {
        struct ma_info *mp;
 
-       for (; (mp=*lst) != NULL; lst = &mp->next) {
+       for (; (mp = *lst) != NULL; lst = &mp->next) {
                if (mp->index > m->index)
                        break;
        }