summaryrefslogtreecommitdiffstats
path: root/mbbsd/announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r--mbbsd/announce.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 8b947995..65a02ed2 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -601,6 +601,7 @@ a_appenditem(const menu_t * pm, int isask)
return;
}
+ // fname = destination
sz = dashs(fname);
if (sz >= MAX_FILE_SIZE)
{
@@ -621,6 +622,8 @@ a_appenditem(const menu_t * pm, int isask)
fclose(fp);
return;
}
+ // cq->copyfile = input
+ sz = dashs(cq->copyfile);
memset(buf, '-', 74);
buf[74] = '\0';