summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-10 22:32:44 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-10 22:32:44 +0800
commitcfab1250f4ddabd40f721ce8b340c50ebbe52177 (patch)
tree0b37f1b4be3990f8eb9f914ac57d3e7975d4e48f /mbbsd
parent6f6b25f482cb780a0136b387b68d2926e069b3e3 (diff)
downloadpttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.tar
pttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.tar.gz
pttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.tar.bz2
pttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.tar.lz
pttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.tar.xz
pttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.tar.zst
pttbbs-cfab1250f4ddabd40f721ce8b340c50ebbe52177.zip
fix bad code
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2589 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/admin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index ff53fd45..40768fef 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -279,6 +279,7 @@ AddingChessCountryFiles(const char* apath)
snprintf(filename, sizeof(filename), "%s/chess_list", apath);
if (!dashf(filename)) {
fp = fopen(filename, "w");
+ assert(fp);
fputs("棋國國名\n"
"帳號 階級 加入日期 等級或被誰俘虜\n"
"────── ─── ───── ───────\n",