diff options
author | Jeremy Allison <jra@samba.org> | 2008-11-06 18:53:00 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-11-06 18:53:00 -0800 |
commit | 8b4b5c3a92be83e99d9177b04f0da56f610025de (patch) | |
tree | 7ee4a9729d64a7eb52db84c01b4bb65d7fd4c252 /source3/web | |
parent | 2c5a9f0a57774b861439390ab86b48c3f0475af8 (diff) | |
download | samba-8b4b5c3a92be83e99d9177b04f0da56f610025de.tar.gz samba-8b4b5c3a92be83e99d9177b04f0da56f610025de.tar.bz2 samba-8b4b5c3a92be83e99d9177b04f0da56f610025de.zip |
Add wrapper str_list_make_v3() to replace the old S3 behavior of
str_list_make(). From Dan Sledz <dan.sledz@isilon.com>:
In samba 3.2 passing NULL or an empty string returned NULL.
In master, it now returns a list of length 1 with the first string set
to NULL (an empty list).
Jeremy.
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/neg_lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/neg_lang.c b/source3/web/neg_lang.c index 82411000cd..491ca9eedd 100644 --- a/source3/web/neg_lang.c +++ b/source3/web/neg_lang.c @@ -74,7 +74,7 @@ void web_set_lang(const char *lang_string) int lang_num, i; /* build the lang list */ - lang_list = str_list_make(talloc_tos(), lang_string, ", \t\r\n"); + lang_list = str_list_make_v3(talloc_tos(), lang_string, ", \t\r\n"); if (!lang_list) return; /* sort the list by priority */ |