summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-12 23:11:35 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-12 23:11:35 +0800
commite05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9 (patch)
tree9c7ce6a6973d875cf74f2cc9f105ff2814f2fea6
parent0ce3b727883532d591f184833bda029750ce3958 (diff)
downloadpttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.tar
pttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.tar.gz
pttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.tar.bz2
pttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.tar.lz
pttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.tar.xz
pttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.tar.zst
pttbbs-e05aa5a56de8af3bd9bf7ce4d7dfa4bcd1b6abc9.zip
follow the prottype of lib, change GB_CONVERT to CONVERT
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1482 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c8
-rw-r--r--sample/pttbbs.conf4
2 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 8bdbaa1d..d2f4aa87 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1347,10 +1347,10 @@ daemon_login(int argc, char *argv[], char *envp[])
/* It's better to do something before fork */
#ifdef CONVERT
- big2gb_init();
- gb2big_init();
- big2uni_init();
- uni2big_init();
+ big2gb_init(NULL);
+ gb2big_init(NULL);
+ big2uni_init(NULL);
+ uni2big_init(NULL);
#endif
#ifndef NO_FORK
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index 86de5cd8..8c3751f3 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -94,8 +94,8 @@
須要加跑 shmctl timed 來提供時間 */
//#define OUTTA_TIMER
-/* 若定義, 則開啟正體中文轉簡體中文的功能 */
-//#define GB_CONVERT
+/* 若定義, 則開啟正體中文轉 簡體中文/UTF-8 的功能 */
+//#define CONVERT
/* 若定義, 則啟動 bbs中連至 BLOG 的 interface
請參閱 pttbbs/blog/ */