s3-nmbd: note TODO item for qsort
authorAndrew Tridgell <tridge@samba.org>
Sat, 13 Feb 2010 23:01:49 +0000 (10:01 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sun, 14 Feb 2010 07:44:21 +0000 (18:44 +1100)
This uses another char* cast hack. Left alone for now.

source3/nmbd/nmbd_incomingrequests.c

index 63f9a3a45cce61d1a72e01acde65488853d72e93..6d8436d9e38251fd88b1faadd18d11b74c10998e 100644 (file)
@@ -373,6 +373,8 @@ subnet %s - name not found.\n", nmb_namestr(&nmb->question.question_name),
 
                /* Remove duplicate names. */
                if (names_added > 1) {
 
                /* 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 );
                }
 
                        qsort( buf0, names_added, 18, QSORT_CAST status_compare );
                }