summaryrefslogtreecommitdiffstats
path: root/util/angel.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-15 04:33:47 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-15 04:33:47 +0800
commit026329f85c6ebcbec743d526a0c46bd1c0aab8bb (patch)
tree6f76835cc10bfa49f943a50f5c3db9d36c6c2459 /util/angel.c
parentb26fbc65ed9d7cbca50f8758712a9b9b6b2bf853 (diff)
downloadpttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.tar
pttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.tar.gz
pttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.tar.bz2
pttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.tar.lz
pttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.tar.xz
pttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.tar.zst
pttbbs-026329f85c6ebcbec743d526a0c46bd1c0aab8bb.zip
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
Diffstat (limited to 'util/angel.c')
-rw-r--r--util/angel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/angel.c b/util/angel.c
index 247f4f02..9e1f3880 100644
--- a/util/angel.c
+++ b/util/angel.c
@@ -57,7 +57,7 @@ void readData(){
while (fread(&user, sizeof(userec_t), 1, fp) == 1) {
++j; /* j == uid */
if (user.myangel[0]) {
- i = searchuser(user.myangel);
+ i = searchuser(user.myangel, NULL);
if (i)
++total[i];
}