From c804102d0ff71f5c5664953020e46304d78de4bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 14 Feb 2010 10:01:49 +1100 Subject: s3-nmbd: note TODO item for qsort This uses another char* cast hack. Left alone for now. --- source3/nmbd/nmbd_incomingrequests.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nmbd') 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 ); } -- cgit