diff options
author | Simo Sorce <idra@samba.org> | 2002-07-28 18:10:39 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-07-28 18:10:39 +0000 |
commit | 69765e4faa8aaae74c97afc917891fc72d80703d (patch) | |
tree | 56d6cfcb3549efdc88b45c1263ad44cda002dbb0 /source/passdb | |
parent | 03892bcfbb566f866fa8943dc42b844d833690f4 (diff) | |
download | samba-69765e4faa8aaae74c97afc917891fc72d80703d.tar.gz samba-69765e4faa8aaae74c97afc917891fc72d80703d.tar.xz samba-69765e4faa8aaae74c97afc917891fc72d80703d.zip |
found nasty bug in intl/lang_tdb.c tdb structure was not tested to not be null before close
this one fixes swat not working with browsers that set more then one language.
along the way implemented language priority in web/neg_lang.c with bubble sort
also changet str_list_make to be able to use a different separator string
Simo.
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/pdb_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/pdb_interface.c b/source/passdb/pdb_interface.c index 3b0f54b2b3a..daa3222c5a0 100644 --- a/source/passdb/pdb_interface.c +++ b/source/passdb/pdb_interface.c @@ -353,7 +353,7 @@ NTSTATUS make_pdb_context_list(struct pdb_context **context, char **selected) NTSTATUS make_pdb_context_string(struct pdb_context **context, const char *selected) { NTSTATUS ret; - char **newsel = str_list_make(selected); + char **newsel = str_list_make(selected, NULL); ret = make_pdb_context_list(context, newsel); str_list_free(&newsel); return ret; |