diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:46 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:46 +0800 |
commit | bf0ff170400889443fd3e3fffc6b1ae2b1738d68 (patch) | |
tree | 33b84a25b6b5809e2c526515de2b516f634ecb4d /util/BM_money.c | |
parent | 4d791013a709c9269c4e4872fd9d379168d0f47a (diff) | |
download | pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.tar pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.tar.gz pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.tar.bz2 pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.tar.lz pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.tar.xz pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.tar.zst pttbbs-bf0ff170400889443fd3e3fffc6b1ae2b1738d68.zip |
move global variable xuser into local, save 512 bytes.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2596 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/BM_money.c')
-rw-r--r-- | util/BM_money.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/BM_money.c b/util/BM_money.c index 09e66257..7a8021e9 100644 --- a/util/BM_money.c +++ b/util/BM_money.c @@ -12,7 +12,6 @@ extern boardheader_t *bcache; extern struct UCACHE *uidshm; int c, n; -extern userec_t xuser; @@ -87,7 +86,7 @@ int main(int argc, char **argv) char *ch1,uid ; if((ch1 = strchr(ch, '/'))) *ch1 = 0; - if ((uid=getuser(ch))!=0) + if ((uid=searchuser(ch))!=0) { char genbuf[200]; |