summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/nmbd/nmbd_incomingrequests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_incomingrequests.c b/source3/nmbd/nmbd_incomingrequests.c
index 63f9a3a45c..6d8436d9e3 100644
--- a/source3/nmbd/nmbd_incomingrequests.c
+++ b/source3/nmbd/nmbd_incomingrequests.c
@@ -373,6 +373,8 @@ subnet %s - name not found.\n", nmb_namestr(&nmb->question.question_name),
/* Remove duplicate names. */
if (names_added > 1) {
+ /* TODO: should use a real type and
+ TYPESAFE_QSORT() */
qsort( buf0, names_added, 18, QSORT_CAST status_compare );
}