From 026329f85c6ebcbec743d526a0c46bd1c0aab8bb Mon Sep 17 00:00:00 2001 From: kcwu Date: Mon, 14 Mar 2005 20:33:47 +0000 Subject: warning: searchuser() getuser() API change, don't change query string implicitly. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2627 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/cal.c') diff --git a/mbbsd/cal.c b/mbbsd/cal.c index edc96a9c..1b2c054e 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -382,7 +382,7 @@ p_give(void) tax = give_tax(money); if (money - tax <= 0) return 0; /* 繳完稅就沒錢給了 */ - deumoney(searchuser(id), money - tax); // TODO if searchuser(id) return 0 + deumoney(searchuser(id, id), money - tax); // TODO if searchuser(id) return 0 demoney(-money); log_file(FN_MONEY, LOG_CREAT | LOG_VF, "%s\t給%s\t%d\t%s", cuser.userid, id, money - tax, ctime4(&now)); -- cgit v1.2.3