diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2022-01-21 12:07:42 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2022-01-21 12:07:42 +0000 |
commit | a3293bb2428dfe462532bd5f449815d8be121c65 (patch) | |
tree | 3ea451d349c2ea354210a19a7abbe7989d399394 | |
parent | 4e2a4b87886cd85c0d65bb8314488f02c7facf7e (diff) | |
download | dnsmasq-a3293bb2428dfe462532bd5f449815d8be121c65.tar.gz |
Fix indentation in Umbrella option code.
-rw-r--r-- | src/option.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/option.c b/src/option.c index 6942432..5230eaf 100644 --- a/src/option.c +++ b/src/option.c @@ -2537,13 +2537,13 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma arg += 9; if (strlen(arg) != 16) ret_err(gen_err); - + for (p = arg; *p; p++) if (!isxdigit((int)*p)) ret_err(gen_err); - + set_option_bool(OPT_UMBRELLA_DEVID); - + for (i = 0; i < (int)sizeof(daemon->umbrella_device); i++, arg+=2) { memcpy(word, &(arg[0]), 2); @@ -2555,13 +2555,13 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma if (!strtoul_check(arg+6, &daemon->umbrella_org)) ret_err(gen_err); } - else if (strstr(arg, "assetid:")) - { - if (!strtoul_check(arg+8, &daemon->umbrella_asset)) - ret_err(gen_err); - } - else - ret_err(gen_err); + else if (strstr(arg, "assetid:")) + { + if (!strtoul_check(arg+8, &daemon->umbrella_asset)) + ret_err(gen_err); + } + else + ret_err(gen_err); arg = comma; } |