From 0ce3f8243eb564063c66a1b32169109af17e4081 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 2 Feb 2002 17:37:44 +0000 Subject: Comments are now allowed everywhere in config files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/servers-setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/servers-setup.c') diff --git a/src/core/servers-setup.c b/src/core/servers-setup.c index 8289b2c3..1412a1a7 100644 --- a/src/core/servers-setup.c +++ b/src/core/servers-setup.c @@ -493,7 +493,8 @@ static void read_servers(void) /* Read servers */ node = iconfig_node_traverse("servers", FALSE); if (node != NULL) { - for (tmp = node->value; tmp != NULL; tmp = tmp->next) + tmp = config_node_first(node->value); + for (; tmp != NULL; tmp = config_node_next(tmp)) server_setup_read(tmp->data); } } -- cgit v1.2.3