1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r25107: Fix const warning caused by the way I reformatted this

This commit is contained in:
Simo Sorce 2007-09-11 23:04:14 +00:00 committed by Gerald (Jerry) Carter
parent a28a35f9cd
commit 6ce01bf413

View File

@ -431,9 +431,10 @@ NTSTATUS idmap_init(void)
if (compat) {
parm_backend = talloc_strdup(idmap_ctx, compat_backend);
} else {
char *backend = lp_parm_const_string(-1, config_option,
"backend", "tdb");
parm_backend = talloc_strdup(idmap_ctx, backend);
parm_backend = talloc_strdup(idmap_ctx,
lp_parm_const_string(
-1, config_option,
"backend", "tdb"));
}
IDMAP_CHECK_ALLOC(parm_backend);