diff options
-rw-r--r-- | pttbbs/include/pttbbs.conf | 4 | ||||
-rw-r--r-- | pttbbs/include/pttstruct.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/include/pttbbs.conf b/pttbbs/include/pttbbs.conf index 95dba5b9..9bd4722d 100644 --- a/pttbbs/include/pttbbs.conf +++ b/pttbbs/include/pttbbs.conf @@ -3,8 +3,8 @@ #define MYHOSTNAME "ptt.csie.ntu.edu.tw" /* 網路位址 */ #define MYIP "140.112.30.142" /* IP位址 */ #define BBSUSER "bbs" -#define BBSUID 1000 -#define BBSGID 1000 +#define BBSUID 9999 +#define BBSGID 99 #define MAX_USERS 150000 #define MAX_ACTIVE 4096 diff --git a/pttbbs/include/pttstruct.h b/pttbbs/include/pttstruct.h index 6d62f218..47b4fd7b 100644 --- a/pttbbs/include/pttstruct.h +++ b/pttbbs/include/pttstruct.h @@ -99,7 +99,7 @@ typedef struct userec_t { unsigned char goodsale; /* 競標 好的評價 */ unsigned char badsale; /* 競標 壞的評價 */ - char pad[77]; + char pad[67]; } userec_t; /* these are flags in userec_t.uflag */ #define PAGER_FLAG 0x4 /* true if pager was OFF last session */ |