diff options
author | Haru <haru@dotalux.com> | 2016-08-22 03:27:11 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-08-22 03:33:19 +0200 |
commit | 6be58f54fcae8115bd4ffb6b3abb1bbf65248797 (patch) | |
tree | 814ebdadedb46eda9f12ca31822547f463b3cc57 /src | |
parent | 95367b0951421ec0b9ba9fd22323eb75ec91decf (diff) | |
download | hercules-6be58f54fcae8115bd4ffb6b3abb1bbf65248797.tar.gz hercules-6be58f54fcae8115bd4ffb6b3abb1bbf65248797.tar.bz2 hercules-6be58f54fcae8115bd4ffb6b3abb1bbf65248797.tar.xz hercules-6be58f54fcae8115bd4ffb6b3abb1bbf65248797.zip |
Corrected an issue that prevented the map server's database port from being changed
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index 58d2a0803..e901eb6b9 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -4295,7 +4295,7 @@ bool inter_config_read_connection(const char *filename, const struct config_t *c return false; } - libconfig->setting_lookup_int(setting, "port", &logs->db_port); + libconfig->setting_lookup_int(setting, "db_port", &logs->db_port); libconfig->setting_lookup_mutable_string(setting, "db_hostname", logs->db_ip, sizeof(logs->db_ip)); libconfig->setting_lookup_mutable_string(setting, "db_username", logs->db_id, sizeof(logs->db_id)); libconfig->setting_lookup_mutable_string(setting, "db_password", logs->db_pw, sizeof(logs->db_pw)); |