git.samba.org
/
bjacke
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e2688
)
s3-nmbd: note TODO item for qsort
author
Andrew Tridgell
<tridge@samba.org>
Sat, 13 Feb 2010 23:01:49 +0000
(10:01 +1100)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_incomingrequests.c
b/source3/nmbd/nmbd_incomingrequests.c
index 63f9a3a45cce61d1a72e01acde65488853d72e93..6d8436d9e38251fd88b1faadd18d11b74c10998e 100644
(file)
--- 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 );
}