diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-30 16:32:28 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-30 16:32:28 +0000 |
commit | 70d49e5042c1f051a6bee5d09d592ef08542e58f (patch) | |
tree | 0567549b77c350fc67111ab7b7b32f8c906861df /src | |
parent | 6d88345f30c33fcda9fe792cbe9025096f4a3c01 (diff) | |
download | irssi-70d49e5042c1f051a6bee5d09d592ef08542e58f.zip |
crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@901 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/irc/fe-netjoin.c | 5 |
1 files 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); } |