summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-05 23:20:48 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-05 23:20:48 +0800
commit2b8e9c06b9d3749071d4d3d35af70bc06bc99345 (patch)
tree259c3d27010c5be35207cacc485b18c64105aad4 /mbbsd
parenta95201ad4d7b597ec13650c28251af838892bef7 (diff)
downloadpttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.tar
pttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.tar.gz
pttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.tar.bz2
pttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.tar.lz
pttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.tar.xz
pttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.tar.zst
pttbbs-2b8e9c06b9d3749071d4d3d35af70bc06bc99345.zip
fix title length
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2369 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index a4223151..0a05f3f9 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -366,6 +366,8 @@ cancelpost(fileheader_t *fh, int by_BM, char *newpath)
break;
}
}
+ if(!strncasecmp(postfile->title, str_reply, 3))
+ len=len+4;
sprintf(postfile.title,"%-*.*s.%sĒŠ", len, len, fh->title, currboard);
if ((fout = fopen("innd/cancel.bntp", "a"))) {