diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-04-10 04:31:50 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-04-10 04:31:50 +0800 |
commit | 2be2268af61905f408f33f2a4d439829ca23a0be (patch) | |
tree | d4b2439cc9ffb1ef5a6a3596c0d4824b84f733ba /mbbsd/cache.c | |
parent | bee171e6635b88aa65c696f4ff2665cddf886e48 (diff) | |
download | pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.gz pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.bz2 pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.lz pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.xz pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.tar.zst pttbbs-2be2268af61905f408f33f2a4d439829ca23a0be.zip |
fix logout_friend()
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@93 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r-- | mbbsd/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c index 374385e3..ad71d35a 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -1,4 +1,4 @@ -/* $Id: cache.c,v 1.6 2002/04/04 18:02:31 ptt Exp $ */ +/* $Id: cache.c,v 1.7 2002/04/09 20:31:50 in2 Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -541,7 +541,7 @@ int count_logins(int uid, int show) { void purge_utmp(userinfo_t *uentp) { - logout_friend_online(); + logout_friend_online(uentp); memset(uentp, 0, sizeof(userinfo_t)); } |