From b79a33eb2f370b8d8b50ed5ed2a0acc83e711c1e Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Apr 2008 15:29:11 +0200 Subject: [PATCH] libsmbconf: reformat smbconf_format_registry_value() - indentations/tabs Michael --- source/lib/smbconf/smbconf_reg.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/lib/smbconf/smbconf_reg.c b/source/lib/smbconf/smbconf_reg.c index f25382769dc..6d24aecbff7 100644 --- a/source/lib/smbconf/smbconf_reg.c +++ b/source/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, ""); - break; - } + break; + default: + result = talloc_asprintf(mem_ctx, ""); + break; + } return result; }