diff options
Diffstat (limited to 'src/txt-converter')
-rw-r--r-- | src/txt-converter/char-converter.c | 9 | ||||
-rw-r--r-- | src/txt-converter/login-converter.c | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/txt-converter/char-converter.c b/src/txt-converter/char-converter.c index 3d1f59391..b1aae0ca5 100644 --- a/src/txt-converter/char-converter.c +++ b/src/txt-converter/char-converter.c @@ -31,7 +31,8 @@ char t_name[256]; #define SQL_CONF_NAME "conf/inter_athena.conf" #define INTER_CONF_NAME "conf/inter_athena.conf" //-------------------------------------------------------- -int convert_init(void){ +int convert_init(void) +{ char line[65536]; int ret; int set,tmp_int[2], lineno, count; @@ -265,8 +266,8 @@ int convert_init(void){ return 0; } -int do_init(int argc, char **argv){ - +int do_init(int argc, char **argv) +{ char_config_read((argc>1)?argv[1]:CHAR_CONF_NAME); mapindex_init(); sql_config_read((argc>2)?argv[2]:SQL_CONF_NAME); @@ -280,4 +281,4 @@ int do_init(int argc, char **argv){ void do_abort(void) {} -void do_final (void) {} +void do_final(void) {} diff --git a/src/txt-converter/login-converter.c b/src/txt-converter/login-converter.c index e46f9327b..020fd8008 100644 --- a/src/txt-converter/login-converter.c +++ b/src/txt-converter/login-converter.c @@ -161,7 +161,8 @@ int mmo_auth_init(void) return 0; } -int login_config_read(const char *cfgName){ +int login_config_read(const char *cfgName) +{ int i; char line[1024], w1[1024], w2[1024]; FILE *fp; |