diff options
author | Michael Adam <obnox@samba.org> | 2009-05-07 16:37:11 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-05-08 01:18:58 +0200 |
commit | 31e06e63b7fbad6373dac32d9ea519d73a9c9642 (patch) | |
tree | 6a69388c1bc86e675adae3823179344c1d1aa80b /source4/param | |
parent | e86a534fa707b44baec87060745dd8a557622721 (diff) | |
download | samba-31e06e63b7fbad6373dac32d9ea519d73a9c9642.tar.gz samba-31e06e63b7fbad6373dac32d9ea519d73a9c9642.tar.bz2 samba-31e06e63b7fbad6373dac32d9ea519d73a9c9642.zip |
s4:loadparm: fix brace indentation and add brace for clarity
Michael
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/loadparm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 6789aa1ac2..72a961aa51 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2083,11 +2083,12 @@ static void dump_a_service(struct loadparm_service * pService, struct loadparm_s if (pService != sDefault) fprintf(f, "\n[%s]\n", pService->szService); - for (i = 0; parm_table[i].label; i++) + for (i = 0; parm_table[i].label; i++) { if (parm_table[i].pclass == P_LOCAL && parm_table[i].offset != -1 && (*parm_table[i].label != '-') && - (i == 0 || (parm_table[i].offset != parm_table[i - 1].offset))) { + (i == 0 || (parm_table[i].offset != parm_table[i - 1].offset))) + { if (pService == sDefault) { if (defaults_saved && is_default(sDefault, i)) continue; @@ -2104,6 +2105,7 @@ static void dump_a_service(struct loadparm_service * pService, struct loadparm_s print_parameter(&parm_table[i], ((char *)pService) + parm_table[i].offset, f); fprintf(f, "\n"); + } } if (pService->param_opt != NULL) { for (data = pService->param_opt; data; data = data->next) { |