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, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 3bf72ba0..e984f30c 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -510,10 +510,10 @@ cancelpost(const fileheader_t *fh, int by_BM, char *newpath)
if ((fin = fopen(fn1, "r"))) {
brd = by_BM ? "deleted" : "junk";
+ memcpy(&postfile, fh, sizeof(fileheader_t));
setbpath(newpath, brd);
stampfile(newpath, &postfile);
- memcpy(postfile.owner, fh->owner, IDLEN + TTLEN + 10);
-
+
nick[0] = '\0';
while (fgets(genbuf, sizeof(genbuf), fin)) {
if (!strncmp(genbuf, str_author1, LEN_AUTHOR1) ||