From e755863dc764c11e2ee28daf05df6f53bf9be0f4 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 31 Mar 2008 12:46:22 +0000 Subject: - (internal) enable building utmpserver git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- daemon/utmpd/utmpserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon/utmpd/utmpserver.c') diff --git a/daemon/utmpd/utmpserver.c b/daemon/utmpd/utmpserver.c index 85adf8c3..19005a80 100644 --- a/daemon/utmpd/utmpserver.c +++ b/daemon/utmpd/utmpserver.c @@ -79,10 +79,10 @@ void initdata(int index) utmp[index].nRejects = countarray(utmp[index].reject, MAX_REJECT); if( utmp[index].nFriends > 0 ) qsort(utmp[index].friend, utmp[index].nFriends, - sizeof(int), qsort_intcompar); + sizeof(int), cmp_int); if( utmp[index].nRejects > 0 ) qsort(utmp[index].reject, utmp[index].nRejects, - sizeof(int), qsort_intcompar); + sizeof(int), cmp_int); } inline void syncutmp(int cfd) -- cgit v1.2.3