summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-11-16 13:14:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2010-11-16 13:14:47 +0800
commit2708f9361e34846c5028edd50cdb5a7c954c30f3 (patch)
tree3b9fb5588ef9ae81ae4f59dc51b8217d2230c599
parentc75475ccf53afefb9121dd34fe922286cbd4ec9a (diff)
downloadpttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.tar
pttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.tar.gz
pttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.tar.bz2
pttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.tar.lz
pttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.tar.xz
pttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.tar.zst
pttbbs-2708f9361e34846c5028edd50cdb5a7c954c30f3.zip
fix compile error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/announce.c b/pttbbs/mbbsd/announce.c
index eba42dab..b2534206 100644
--- a/pttbbs/mbbsd/announce.c
+++ b/pttbbs/mbbsd/announce.c
@@ -828,7 +828,7 @@ a_delete(menu_t * pm, const char *backup_dir)
const char *bn = NULL;
if (strstr(backup_dir, "/" BN_JUNK "/"))
bn = BN_JUNK;
- else if (strstr(backup, "/" BN_DELETED "/"))
+ else if (strstr(backup_dir, "/" BN_DELETED "/"))
bn = BN_DELETED;
if (bn)
setbtotal(getbnum(bn));