diff options
author | Michael Adam <obnox@samba.org> | 2008-04-07 15:29:11 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-10 01:28:56 +0200 |
commit | 0acf338503eb22640be3e02f66ce9543b775fe15 (patch) | |
tree | 8dbb4ecc05f2dacf0c824e791e64902cd01d62f9 /source3 | |
parent | ec12f0a25aaf7fca5417a7fe6f3c6182c41d80a0 (diff) | |
download | samba-0acf338503eb22640be3e02f66ce9543b775fe15.tar.gz samba-0acf338503eb22640be3e02f66ce9543b775fe15.tar.bz2 samba-0acf338503eb22640be3e02f66ce9543b775fe15.zip |
libsmbconf: reformat smbconf_format_registry_value() - indentations/tabs
Michael
(This used to be commit b79a33eb2f370b8d8b50ed5ed2a0acc83e711c1e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/smbconf/smbconf_reg.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source3/lib/smbconf/smbconf_reg.c b/source3/lib/smbconf/smbconf_reg.c index f25382769d..6d24aecbff 100644 --- a/source3/lib/smbconf/smbconf_reg.c +++ b/source3/lib/smbconf/smbconf_reg.c @@ -288,25 +288,25 @@ static char *smbconf_format_registry_value(TALLOC_CTX *mem_ctx, result = talloc_asprintf(mem_ctx, "%s", value->v.sz.str); break; case REG_MULTI_SZ: { - uint32 j; - for (j = 0; j < value->v.multi_sz.num_strings; j++) { - result = talloc_asprintf(mem_ctx, "%s \"%s\" ", + uint32 j; + for (j = 0; j < value->v.multi_sz.num_strings; j++) { + result = talloc_asprintf(mem_ctx, "%s \"%s\" ", result, value->v.multi_sz.strings[j]); if (result == NULL) { break; } - } - break; - } + } + break; + } case REG_BINARY: - result = talloc_asprintf(mem_ctx, "binary (%d bytes)", + result = talloc_asprintf(mem_ctx, "binary (%d bytes)", (int)value->v.binary.length); - break; - default: - result = talloc_asprintf(mem_ctx, "<unprintable>"); - break; - } + break; + default: + result = talloc_asprintf(mem_ctx, "<unprintable>"); + break; + } return result; } |