diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-05 16:32:01 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-06 01:44:07 +0200 |
commit | a5a84415e238a861aa9a574f0b486f4ba417aaa6 (patch) | |
tree | 7a4a400d47f770e5a358ea3e3c76a76092a0e460 /source3/modules | |
parent | bb00bdbe8ff4efde18d7d15f533b98ee78ebc328 (diff) | |
download | samba-a5a84415e238a861aa9a574f0b486f4ba417aaa6.tar.gz samba-a5a84415e238a861aa9a574f0b486f4ba417aaa6.tar.bz2 samba-a5a84415e238a861aa9a574f0b486f4ba417aaa6.zip |
Fix broken interface to set_namearray() - don't modify incoming string.
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_preopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index 82969e48d6..e4b3a0c435 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -322,7 +322,7 @@ static struct preopen_state *preopen_state_get(vfs_handle_struct *handle) return NULL; } - set_namearray(&state->preopen_names, (char *)namelist); + set_namearray(&state->preopen_names, namelist); if (state->preopen_names == NULL) { TALLOC_FREE(state); |