]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Whitespace
authorRoy Marples <roy@marples.name>
Wed, 20 Aug 2014 09:20:49 +0000 (09:20 +0000)
committerRoy Marples <roy@marples.name>
Wed, 20 Aug 2014 09:20:49 +0000 (09:20 +0000)
dhcp-common.c
dhcp-common.h

index 54c4a5b49fc1f9d24c84e471bd7fca249929bf68..093540644838f369ac07385436c91b21e492ebe7 100644 (file)
@@ -145,11 +145,9 @@ make_option_mask(const struct dhcp_opt *dopts, size_t dopts_len,
                        return -1;
                }
                if (add == 1 || add == 2)
-                       add_option_mask(mask,
-                           opt->option);
+                       add_option_mask(mask, opt->option);
                else
-                       del_option_mask(mask,
-                           opt->option);
+                       del_option_mask(mask, opt->option);
        }
        free(o);
        return 0;
index 5519edaca83b580d923bb9400e532817f0b93c3f..d6b4d5ff285c4d005b959bc339182d86da014972 100644 (file)
@@ -86,7 +86,7 @@ ssize_t dhcp_vendor(char *, size_t);
 
 #define add_option_mask(var, val) (var[val >> 3] |= 1 << (val & 7))
 #define del_option_mask(var, val) (var[val >> 3] &= ~(1 << (val & 7)))
-#define has_option_mask(var, val) (var[val >>3] & (1 << (val & 7)))
+#define has_option_mask(var, val) (var[val >> 3] & (1 << (val & 7)))
 int make_option_mask(const struct dhcp_opt *, size_t,
     const struct dhcp_opt *, size_t,
     uint8_t *, const char *, int);