diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-14 10:01:49 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-14 18:44:21 +1100 |
commit | c804102d0ff71f5c5664953020e46304d78de4bc (patch) | |
tree | ed5ae9e5fdf26b2463edbb5fbc9aa754dfab05c9 | |
parent | 95e26884a85118713faea943115dd003d2442dd5 (diff) | |
download | samba-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.
-rw-r--r-- | source3/nmbd/nmbd_incomingrequests.c | 2 |
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 ); } |