From 73bfa26bee598ad097f5f26d5519f25face6e517 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 13 Oct 2011 14:51:03 +0000 Subject: fix file more after cross-post git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5418 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/bbs.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3