summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-14 10:01:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-14 18:44:21 +1100
commitc804102d0ff71f5c5664953020e46304d78de4bc (patch)
treeed5ae9e5fdf26b2463edbb5fbc9aa754dfab05c9 /source3/nmbd
parent95e26884a85118713faea943115dd003d2442dd5 (diff)
downloadsamba-c804102d0ff71f5c5664953020e46304d78de4bc.tar.gz
samba-c804102d0ff71f5c5664953020e46304d78de4bc.tar.bz2
samba-c804102d0ff71f5c5664953020e46304d78de4bc.zip
s3-nmbd: note TODO item for qsort
This uses another char* cast hack. Left alone for now.
Diffstat (limited to 'source3/nmbd')
-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 );
}