diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-28 13:35:44 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-05 18:28:58 +0200 |
commit | 6ed9b7c973aec5f59a06168ca82065f40b033c13 (patch) | |
tree | b3c7ce12a6679404ff6230923db50d785eb4e885 /source3/lib | |
parent | 4d8836ab96889bcdc35e86bedffa6117f9c35095 (diff) | |
download | samba-6ed9b7c973aec5f59a06168ca82065f40b033c13.tar.gz samba-6ed9b7c973aec5f59a06168ca82065f40b033c13.tar.bz2 samba-6ed9b7c973aec5f59a06168ca82065f40b033c13.zip |
Make the namelist arg to set_namearray const
(This used to be commit e7ce4bce5cd7eddb14982028538e965e12ccef84)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 5f95bcc558..a137d7cd8b 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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; |