mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
libsmbconf: reformat smbconf_format_registry_value() - indentations/tabs
Michael
(This used to be commit b79a33eb2f
)
This commit is contained in:
parent
ec12f0a25a
commit
0acf338503
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user