summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-11-21 10:32:30 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-11-21 10:32:30 +0800
commit041223bb7b3c127a9a88d330cd3b17d323feab6f (patch)
treea29f5e9be3b2389f0675c79a276d4489772da0a9 /util
parent1a137287e0a2328885e0fc52272819bed30f3208 (diff)
downloadpttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.tar
pttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.tar.gz
pttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.tar.bz2
pttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.tar.lz
pttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.tar.xz
pttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.tar.zst
pttbbs-041223bb7b3c127a9a88d330cd3b17d323feab6f.zip
fav:
remove unused and deprecated features return NULL if malloc(0) buildAnnounce: qsort takes pointer ... git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/buildAnnounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/buildAnnounce.c b/util/buildAnnounce.c
index 9f170cc6..0754206a 100644
--- a/util/buildAnnounce.c
+++ b/util/buildAnnounce.c
@@ -39,7 +39,7 @@ void buildchilds(int level,char *path,int gid)
assert(selected);
selected[count++]=ptr;
}
- qsort(&selected, count, sizeof(boardheader_t *),
+ qsort(selected, count, sizeof(boardheader_t *),
cmpboardclass);
for(i=0;i<count;i++)
{