summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-04 21:16:48 +0100
committerMichael Adam <obnox@samba.org>2008-01-04 21:16:48 +0100
commit517ad5318d3d196713b96f69eff8e2f5d38d922a (patch)
tree46d3bb2fe2f844e06e957c5b201fa42443a73d46 /source3
parentdbdaa5eeec62e2a643a8be36db0a30c20092b064 (diff)
downloadsamba-517ad5318d3d196713b96f69eff8e2f5d38d922a.tar.gz
samba-517ad5318d3d196713b96f69eff8e2f5d38d922a.tar.bz2
samba-517ad5318d3d196713b96f69eff8e2f5d38d922a.zip
Fix spacing - spaces mixed with tabs.
Michael (This used to be commit a4ef828102417f04af1e9823c89404e77e4fd5c1)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_conf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 52dcda03db..38cdeacc11 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -46,9 +46,9 @@ static int net_conf_import_usage(int argc, const char**argv)
d_printf("USAGE: net conf import [--test|-T] <filename> "
"[<servicename>]\n"
"\t[--test|-T] testmode - do not act, just print "
- "what would be done\n"
+ "what would be done\n"
"\t<servicename> only import service <servicename>, "
- "ignore the rest\n");
+ "ignore the rest\n");
return -1;
}
@@ -139,14 +139,14 @@ static char *parm_valstr(TALLOC_CTX *ctx, struct parm_struct *parm,
valstr = talloc_asprintf(ctx, "%s", BOOLSTR(!*(bool *)ptr));
break;
case P_ENUM:
- for (i = 0; parm->enum_list[i].name; i++) {
- if (*(int *)ptr == parm->enum_list[i].value)
+ for (i = 0; parm->enum_list[i].name; i++) {
+ if (*(int *)ptr == parm->enum_list[i].value)
{
valstr = talloc_asprintf(ctx, "%s",
- parm->enum_list[i].name);
- break;
- }
- }
+ parm->enum_list[i].name);
+ break;
+ }
+ }
break;
case P_OCTAL: {
char *o = octal_string(*(int *)ptr);