From 0acf338503eb22640be3e02f66ce9543b775fe15 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Apr 2008 15:29:11 +0200 Subject: libsmbconf: reformat smbconf_format_registry_value() - indentations/tabs Michael (This used to be commit b79a33eb2f370b8d8b50ed5ed2a0acc83e711c1e) --- source3/lib/smbconf/smbconf_reg.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'source3/lib') 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, ""); - break; - } + break; + default: + result = talloc_asprintf(mem_ctx, ""); + break; + } return result; } -- cgit