summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/servers-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c
index 9e8a1c66..6a53f183 100644
--- a/src/core/servers-setup.c
+++ b/src/core/servers-setup.c
@@ -329,7 +329,7 @@ static SERVER_SETUP_REC *server_setup_read(CONFIG_NODE *node)
rec->password = g_strdup(config_node_get_str(node, "password", NULL));
rec->port = port;
rec->autoconnect = config_node_get_bool(node, "autoconnect", FALSE);
- rec->own_host = g_strdup(config_node_get_str(node, "own_host", 0));
+ rec->own_host = g_strdup(config_node_get_str(node, "own_host", NULL));
setupservers = g_slist_append(setupservers, rec);
return rec;