From da4d8445f1168b9586eac9fbbc13715e336dae36 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 2 Nov 2000 16:29:05 +0000 Subject: [PATCH] small "fix" git-svn-id: http://svn.irssi.org/repos/irssi/trunk@801 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/servers-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;