summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 16:32:01 -0700
committerJeremy Allison <jra@samba.org>2011-05-06 01:44:07 +0200
commita5a84415e238a861aa9a574f0b486f4ba417aaa6 (patch)
tree7a4a400d47f770e5a358ea3e3c76a76092a0e460 /source3/include
parentbb00bdbe8ff4efde18d7d15f533b98ee78ebc328 (diff)
downloadsamba-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/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 60a34d1164..2305a7ac68 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -649,7 +649,7 @@ void smb_panic_s3(const char *why);
void log_stack_trace(void);
const char *readdirname(SMB_STRUCT_DIR *p);
bool is_in_path(const char *name, name_compare_entry *namelist, bool case_sensitive);
-void set_namearray(name_compare_entry **ppname_array, char *namelist);
+void set_namearray(name_compare_entry **ppname_array, const char *namelist);
void free_namearray(name_compare_entry *name_array);
bool fcntl_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
bool fcntl_getlock(int fd, SMB_OFF_T *poffset, SMB_OFF_T *pcount, int *ptype, pid_t *ppid);