summaryrefslogtreecommitdiffstats
path: root/mbbsd/passwd.c
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
commitd2da00295024c1cb7c0dc216d7f24d4779ced834 (patch)
treefc3beee3e0dbda6bec632229547ab5ebeee5d230 /mbbsd/passwd.c
parent2d221323d6b683afa120108796e53da4bf1f2b97 (diff)
downloadpttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.tar
pttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.tar.gz
pttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.tar.bz2
pttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.tar.lz
pttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.tar.xz
pttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.tar.zst
pttbbs-d2da00295024c1cb7c0dc216d7f24d4779ced834.zip
* fix crash on user query: another recursive call :-(
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4578 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/passwd.c')
-rw-r--r--mbbsd/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 7fbb7d96..0c44d894 100644
--- a/mbbsd/passwd.c
+++ b/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)