mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s4-kcc: remove a qsort() that snuck into the new topology code
This commit is contained in:
@ -146,8 +146,7 @@ static NTSTATUS kcctpl_create_graph(TALLOC_CTX *mem_ctx,
|
||||
guids->count);
|
||||
NT_STATUS_HAVE_NO_MEMORY_AND_FREE(graph->vertices.data, graph);
|
||||
|
||||
qsort(guids->data, guids->count, sizeof(struct GUID),
|
||||
QSORT_CAST GUID_compare);
|
||||
TYPESAFE_QSORT(guids->data, guids->count, GUID_compare);
|
||||
|
||||
for (i = 0; i < guids->count; i++) {
|
||||
graph->vertices.data[i].id = guids->data[i];
|
||||
|
Reference in New Issue
Block a user