diff options
Diffstat (limited to 'util/angel.c')
-rw-r--r-- | util/angel.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/util/angel.c b/util/angel.c index 4f7b0a0c..5acd400b 100644 --- a/util/angel.c +++ b/util/angel.c @@ -16,9 +16,6 @@ int nReport = 50; int count; char* mailto = "SYSOP"; -int ListCmp(const void * a, const void * b){ - return *(int*)b - *(int*)a; -} int RejCmp(const void * a, const void * b){ return strcasecmp(SHM->userid[*(int*)a - 1], SHM->userid[*(int*)b - 1]); @@ -100,7 +97,7 @@ void readData(){ rej_list[k++] = i; } - qsort(list, count, sizeof(int[2]), ListCmp); + qsort(list, count, sizeof(int[2]), cmp_int_desc); qsort(rej_list, double_rej, sizeof(int), RejCmp); } |