1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Make the namelist arg to set_namearray const

(This used to be commit e7ce4bce5c)
This commit is contained in:
Volker Lendecke 2008-04-28 13:35:44 +02:00
parent 4d8836ab96
commit 6ed9b7c973

View File

@ -1907,10 +1907,10 @@ bool is_in_path(const char *name, name_compare_entry *namelist, bool case_sensit
if possible.
********************************************************************/
void set_namearray(name_compare_entry **ppname_array, char *namelist)
void set_namearray(name_compare_entry **ppname_array, const char *namelist)
{
char *name_end;
char *nameptr = namelist;
const char *nameptr = namelist;
int num_entries = 0;
int i;