diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-10-19 06:57:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:43:22 +0100 |
commit | c2e5cf6e31b099e1477113b9e11f760e2bdb5396 (patch) | |
tree | 386dfe49387d621ac770c24073e1f971ab883688 /source4/dsdb | |
parent | 35dc4d9999b6d3284adba96bc408ba55faf3475a (diff) | |
download | samba-c2e5cf6e31b099e1477113b9e11f760e2bdb5396.tar.gz samba-c2e5cf6e31b099e1477113b9e11f760e2bdb5396.tar.bz2 samba-c2e5cf6e31b099e1477113b9e11f760e2bdb5396.zip |
r25705: Ensure we return the out value to the caller.
Andrew Bartlett
(This used to be commit 3434262ad74c366ac58319c70880ca50898fa78c)
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index 93c78fd163..452896d5a3 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -218,12 +218,14 @@ static int objectclass_sort(struct ldb_module *module, } while (parent_class); if (!unsorted) { + *sorted_out = sorted; return LDB_SUCCESS; } if (!schema) { /* If we don't have schema yet, then just merge the lists again */ DLIST_CONCATENATE(sorted, unsorted, struct class_list *); + *sorted_out = sorted; return LDB_SUCCESS; } |