From 8e8d89d15b43e45252a45978f877d7760b79ff65 Mon Sep 17 00:00:00 2001
From: in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>
Date: Tue, 10 Dec 2002 11:59:02 +0000
Subject: after setup_utmp(), renice to +5. to let system faver the processes
 which are listening or setup_utmp()ing

git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
---
 mbbsd/mbbsd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 0f2cd58f..9cfb91d2 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.59 2002/11/16 13:41:07 kcwu Exp $ */
+/* $Id: mbbsd.c,v 1.60 2002/12/10 11:59:02 in2 Exp $ */
 #include "bbs.h"
 
 #define SOCKET_QLEN 4
@@ -745,6 +745,7 @@ setup_utmp(int mode)
     getnewutmpent(&uinfo);
 #ifndef _BBS_UTIL_C_
     friend_load();
+    nice(3);
 #endif
 }
 
-- 
cgit v1.2.3