From: Roy Marples Date: Wed, 20 Aug 2014 09:20:49 +0000 (+0000) Subject: Whitespace X-Git-Tag: v6.4.4~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60ccc7dffe3e0affd6c4daeae38c5e430e000136;p=thirdparty%2Fdhcpcd.git Whitespace --- diff --git a/dhcp-common.c b/dhcp-common.c index 54c4a5b4..09354064 100644 --- a/dhcp-common.c +++ b/dhcp-common.c @@ -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; diff --git a/dhcp-common.h b/dhcp-common.h index 5519edac..d6b4d5ff 100644 --- a/dhcp-common.h +++ b/dhcp-common.h @@ -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);