git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a28a35f
)
r25107: Fix const warning caused by the way I reformatted this
author
Simo Sorce
<idra@samba.org>
Tue, 11 Sep 2007 23:04:14 +0000
(23:04 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:30:40 +0000
(12:30 -0500)
source/nsswitch/idmap.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/idmap.c
b/source/nsswitch/idmap.c
index 009d7a610ba3d8945d2d6b6fc1fee7717af19254..2c7acc185cc56b1cccd39a26b168350b0f505885 100644
(file)
--- a/
source/nsswitch/idmap.c
+++ b/
source/nsswitch/idmap.c
@@
-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);