summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-12 21:32:13 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-12 21:32:13 +0800
commit2e05d40a190833e7d6b14d68c0ac8467a94f743c (patch)
treeaa12f87ebdaf420b8ef6b0a7fe356efc28199776
parentcbaa165075d79acceef981fddb78af4119d4b73a (diff)
downloadpttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.tar
pttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.tar.gz
pttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.tar.bz2
pttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.tar.lz
pttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.tar.xz
pttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.tar.zst
pttbbs-2e05d40a190833e7d6b14d68c0ac8467a94f743c.zip
* fix crash on user query: another recursive call :-(
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/passwd.c b/pttbbs/mbbsd/passwd.c
index 7fbb7d96..0c44d894 100644
--- a/pttbbs/mbbsd/passwd.c
+++ b/pttbbs/mbbsd/passwd.c
@@ -79,7 +79,7 @@ passwd_sync_update(int num, userec_t * buf)
int
passwd_sync_query(int num, userec_t * buf)
{
- if (passwd_sync_query(num, buf) < 0)
+ if (passwd_query(num, buf) < 0)
return -1;
if (buf == &cuser)