diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-01 02:29:54 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-01 02:29:54 +0800 |
commit | 5d7905cefdbc8b65c2c8ede660b49f11673d089d (patch) | |
tree | a92f2d0a3f74318f0904281f3209cfea14389476 /common/sys | |
parent | e755863dc764c11e2ee28daf05df6f53bf9be0f4 (diff) | |
download | pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.tar pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.tar.gz pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.tar.bz2 pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.tar.lz pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.tar.xz pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.tar.zst pttbbs-5d7905cefdbc8b65c2c8ede660b49f11673d089d.zip |
- enable angel to temporary disable pager again.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4054 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'common/sys')
-rw-r--r-- | common/sys/sort.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/sys/sort.c b/common/sys/sort.c index d649b9e4..78b0af2d 100644 --- a/common/sys/sort.c +++ b/common/sys/sort.c @@ -7,7 +7,8 @@ int cmp_int(const void *a, const void *b) int cmp_int_desc(const void * a, const void * b) { - return cmp_int(b, a); + // return cmp_int(b, a); + return *(int*)b - *(int*)a; } int * |