diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-10-13 22:51:03 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-10-13 22:51:03 +0800 |
commit | 73bfa26bee598ad097f5f26d5519f25face6e517 (patch) | |
tree | aa911b8259b2383c9e54512c171cce36c8b4a690 | |
parent | d083c5348f1665c121ec0c5cae7b10ed7433f4fd (diff) | |
download | pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.tar pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.tar.gz pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.tar.bz2 pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.tar.lz pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.tar.xz pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.tar.zst pttbbs-73bfa26bee598ad097f5f26d5519f25face6e517.zip |
fix file more after cross-post
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index e3c4ca6f..13febdc5 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -1084,8 +1084,7 @@ do_crosspost(const char *brd, fileheader_t *postfile, const char *fpath, sprintf(fh.title,"%-*.*s.%sªO", len, len, postfile->title, currboard); unlink(genbuf); Copy((char *)fpath, genbuf); - // should be fh.filemode ? - postfile->filemode = FILE_LOCAL; + fh.filemode = FILE_LOCAL; setbdir(genbuf, brd); if (append_record(genbuf, &fh, sizeof(fileheader_t)) != -1) { SHM->lastposttime[bid - 1] = now; |