diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-30 06:12:58 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-03-30 06:12:58 +0800 |
commit | b6f9ab17f2a99c99a0667e0f455627d7c2d3967a (patch) | |
tree | 79838ad110e95ee7c12450bfacb6009c230b4b41 | |
parent | 03b52ab944dd5a7c5bd0f868a8ba171a79e2d2b1 (diff) | |
download | pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.tar pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.tar.gz pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.tar.bz2 pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.tar.lz pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.tar.xz pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.tar.zst pttbbs-b6f9ab17f2a99c99a0667e0f455627d7c2d3967a.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1634 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | util/uhash_loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c index 771882a0..6b1c68d0 100644 --- a/util/uhash_loader.c +++ b/util/uhash_loader.c @@ -121,7 +121,7 @@ int loadmoney(userec_t *user) { int fd, money=0; char path[256]; - sprintf(path,"home/%c/%s", user->userid[0], user->userid); + sprintf(path,BBSHOME "/home/%c/%s/.passwd", user->userid[0], user->userid); if((fd=open(path, O_RDONLY))<0) return user->money; if(lseek(fd, (off_t)((int)&(user->money) - (int)user), SEEK_SET) >= 0) |