diff options
Diffstat (limited to 'src/map/map.c')
-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)); |