From 70d49e5042c1f051a6bee5d09d592ef08542e58f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 30 Nov 2000 16:32:28 +0000 Subject: [PATCH] crashfix git-svn-id: http://svn.irssi.org/repos/irssi/trunk@901 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-netjoin.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fe-common/irc/fe-netjoin.c b/src/fe-common/irc/fe-netjoin.c index 5fe10481..0473e52c 100644 --- a/src/fe-common/irc/fe-netjoin.c +++ b/src/fe-common/irc/fe-netjoin.c @@ -232,11 +232,12 @@ static void print_netjoins(NETJOIN_SERVER_REC *server) message before it. */ static void sig_print_starting(void) { - GSList *tmp; + GSList *tmp, *next; - for (tmp = joinservers; tmp != NULL; tmp = tmp->next) { + for (tmp = joinservers; tmp != NULL; tmp = next) { NETJOIN_SERVER_REC *server = tmp->data; + next = tmp->next; if (server->netjoins != NULL) print_netjoins(server); }