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

r25705: Ensure we return the out value to the caller.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2007-10-19 06:57:19 +02:00 committed by Stefan Metzmacher
parent f350ef5f19
commit 3434262ad7

View File

@ -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;
}