diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-14 23:00:25 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-14 23:00:25 +0800 |
commit | 5d8da62f46b60e5c4f6f86f08603e3f4286c86dc (patch) | |
tree | 5caf01fed2e9e15989126fb23b560a682408bd9a /mbbsd | |
parent | e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9 (diff) | |
download | pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.tar pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.tar.gz pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.tar.bz2 pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.tar.lz pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.tar.xz pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.tar.zst pttbbs-5d8da62f46b60e5c4f6f86f08603e3f4286c86dc.zip |
Wrong number of recommand.
Operator priority.....
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1483 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index dace435c..f52445f2 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1489,7 +1489,7 @@ do_add_recommend(char *direct, fileheader_t *fhdr, int ent, char *buf) if( (fd = open(direct, O_WRONLY)) < 0 ) return -1; - ++fhdr->recommend; + ++(fhdr->recommend); if( lseek(fd, (off_t)(sizeof(*fhdr) * (ent - 1) + (int)&t.recommend - (int)&t), SEEK_SET) < 0 || |