summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
-rw-r--r--include/pttstruct.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index 59316fb3..d5400070 100644
--- a/include/common.h
+++ b/include/common.h
@@ -45,7 +45,7 @@
#define FN_BADLOGIN "logins.bad" // in BBSHOME & user directory
#define FN_RECENTLOGIN "logins.recent" // in user directory
#ifndef SZ_RECENTLOGIN
-#define SZ_RECENTLOGIN (32000)
+#define SZ_RECENTLOGIN (16000) // size of max recent log before rotation
#endif
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 2e130628..deae733a 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -95,7 +95,8 @@ typedef struct userec_t {
char career[40]; /* 學歷職業 */
char phone[20]; /* 電話 */
- char chkpad1[52];
+ uint32_t old_numlogins; /* 轉換前的 numlogins, 備份檢視用 */
+ char chkpad1[48];
time4_t lastseen; /* 最近上站時間(隱身不計) */
time4_t chkpad2[2]; /* in case 有人忘了把 time4_t 調好... */
// 以上應為 sizeof(chicken_t) 同等大小