summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-11-19 13:42:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2013-11-19 13:42:14 +0800
commit57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd (patch)
treef612a3ff742c66eb4123486f8ee51316c1807e82
parent90d875cb99cf98880f99cc52c9a143ae7b37d2eb (diff)
downloadpttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.tar
pttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.tar.gz
pttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.tar.bz2
pttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.tar.lz
pttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.tar.xz
pttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.tar.zst
pttbbs-57c39bdc50141c0b5db56aa4c26b1ea26c22b8fd.zip
Fix: numbers in expire2.conf was not correctly parsed.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5904 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/expire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/util/expire.c b/pttbbs/util/expire.c
index 862500cc..284df2a4 100644
--- a/pttbbs/util/expire.c
+++ b/pttbbs/util/expire.c
@@ -266,7 +266,7 @@ int main(int argc, char **argv)
if( ptr && (number = atoi(ptr)) > 0 ){
key = &(table[count++]);
strcpy(key->bname, bname);
- key->maxp = db.maxp;
+ key->maxp = number;
}
}
}