summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index d035daa6..37138433 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -434,9 +434,11 @@ do_crosspost(char *brd, fileheader_t *postfile, const char *fpath)
{
char genbuf[200];
fileheader_t fh;
- memcpy(&fh, postfile, sizeof(fh));
setbpath(genbuf, brd);
stampfile(genbuf, &fh);
+ strcpy(fh.owner, postfile->owner);
+ strcpy(fh.date, postfile->date);
+ strcpy(fh.title, postfile->title);
unlink(genbuf);
Link(fpath, genbuf);
postfile->filemode = FILE_LOCAL;