summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index a3cec483..832c6182 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -344,7 +344,7 @@ cancelpost(fileheader_t *fh, int by_BM, char *newpath)
fileheader_t postfile;
char genbuf[200];
char nick[STRLEN], fn1[STRLEN];
-
+ int len = 42-strlen(currboard);
if(!fh->filename[0]) return;
setbfile(fn1, currboard, fh->filename);
@@ -366,6 +366,7 @@ cancelpost(fileheader_t *fh, int by_BM, char *newpath)
break;
}
}
+ sprintf(postfile.title,"%-*.*s.%sĒŠ", len, len, fh->title, currboard);
if ((fout = fopen("innd/cancel.bntp", "a"))) {
fprintf(fout, "%s\t%s\t%s\t%s\t%s\n", currboard, fh->filename,