--- lbbs/src/init.c 2025/06/16 14:30:44 1.25 +++ lbbs/src/init.c 2025/07/02 04:17:33 1.29 @@ -14,22 +14,19 @@ * * ***************************************************************************/ -#define _POSIX_C_SOURCE 200809L - -#include "init.h" -#include "database.h" #include "bbs.h" #include "common.h" -#include "log.h" +#include "database.h" +#include "init.h" #include "io.h" -#include -#include -#include +#include "log.h" #include +#include +#include #include #include -#include #include +#include #define CONF_DELIM_WITH_SPACE " \t\r\n" @@ -177,7 +174,7 @@ int load_conf(const char *conf_file) log_error("Ignore config bbs_start_dt with incorrect value\n"); continue; } - snprintf(BBS_start_dt, sizeof(BBS_start_dt), "%4sÄê%2sÔÂ%2sÈÕ", y, m, d); + snprintf(BBS_start_dt, sizeof(BBS_start_dt), "%4så¹´%2s月%2sæ—¥", y, m, d); } else if (strcasecmp(p, "db_host") == 0) {