diff options
-rw-r--r-- | src/char/char.cpp | 4 | ||||
-rw-r--r-- | src/char/inter.cpp | 2 | ||||
-rw-r--r-- | src/ladmin/ladmin.cpp | 2 | ||||
-rw-r--r-- | src/login/login.cpp | 4 | ||||
-rw-r--r-- | src/map/battle.cpp | 2 | ||||
-rw-r--r-- | src/map/script.cpp | 6 |
6 files changed, 13 insertions, 7 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp index b07baea..ed45b82 100644 --- a/src/char/char.cpp +++ b/src/char/char.cpp @@ -3360,7 +3360,7 @@ int lan_config_read(const char *lancfgName) } else { - PRINTF("WARNING: unknown lan config key: %s", w1); + PRINTF("WARNING: unknown lan config key: %s\n", w1); } } @@ -3592,7 +3592,7 @@ int char_config_read(const char *cfgName) } else { - PRINTF("WARNING: unknown char config key: %s", w1); + PRINTF("WARNING: unknown char config key: %s\n", w1); } } diff --git a/src/char/inter.cpp b/src/char/inter.cpp index 02091b9..589a250 100644 --- a/src/char/inter.cpp +++ b/src/char/inter.cpp @@ -220,7 +220,7 @@ int inter_config_read(const char *cfgName) } else { - PRINTF("WARNING: unknown inter config key: %s", w1); + PRINTF("WARNING: unknown inter config key: %s\n", w1); } } diff --git a/src/ladmin/ladmin.cpp b/src/ladmin/ladmin.cpp index 2dc2bdb..854d1a1 100644 --- a/src/ladmin/ladmin.cpp +++ b/src/ladmin/ladmin.cpp @@ -3626,7 +3626,7 @@ int ladmin_config_read(const char *cfgName) } else { - PRINTF("WARNING: unknown ladmin config key: %s", w1); + PRINTF("WARNING: unknown ladmin config key: %s\n", w1); } } diff --git a/src/login/login.cpp b/src/login/login.cpp index ceb216b..3217af5 100644 --- a/src/login/login.cpp +++ b/src/login/login.cpp @@ -3649,7 +3649,7 @@ int login_lan_config_read(const char *lancfgName) } else { - PRINTF("WARNING: unknown lan-config key: %s", w1); + PRINTF("WARNING: unknown lan-config key: %s\n", w1); } } @@ -3914,7 +3914,7 @@ int login_config_read(const char *cfgName) } else { - PRINTF("WARNING: unknown login config key: %s", w1); + PRINTF("WARNING: unknown login config key: %s\n", w1); } } diff --git a/src/map/battle.cpp b/src/map/battle.cpp index a6aebcb..3b57d13 100644 --- a/src/map/battle.cpp +++ b/src/map/battle.cpp @@ -5726,7 +5726,7 @@ int battle_config_read(const char *cfgName) goto continue_outer; } - PRINTF("WARNING: unknown battle conf key: %s", w1); + PRINTF("WARNING: unknown battle conf key: %s\n", w1); continue_outer: ; diff --git a/src/map/script.cpp b/src/map/script.cpp index 3a75728..5411e59 100644 --- a/src/map/script.cpp +++ b/src/map/script.cpp @@ -5077,8 +5077,14 @@ void do_final_script(void) { if (mapreg_dirty >= 0) script_save_mapreg(); +#if 0 + // labels are allocated just out of this + // (so it's a leak ...) + // this is disabled because it leads to a crash + // due to double-free if (script_buf) free(script_buf); +#endif if (mapreg_db) numdb_final(mapreg_db, NULL); |