summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-27 22:42:46 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-27 22:42:46 +0800
commit763cfc92559019ab86318e0a6addd11f739b4c49 (patch)
tree7e953599c6ff35ffe05947c823091380c8ea7311
parente2c0910699ca4b446c19b760057d55e6f5a2f67a (diff)
downloadpttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.tar
pttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.tar.gz
pttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.tar.bz2
pttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.tar.lz
pttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.tar.xz
pttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.tar.zst
pttbbs-763cfc92559019ab86318e0a6addd11f739b4c49.zip
revert
git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.gb@1375 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/include/pttbbs.conf4
-rw-r--r--pttbbs/include/pttstruct.h2
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 */