summaryrefslogtreecommitdiff
path: root/src/irc/core/ctcp.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-23 21:40:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-23 21:40:07 +0000
commit8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8 (patch)
tree52324a388e270f22cef46fb5a5fcdcc1c3d71ac8 /src/irc/core/ctcp.c
parent8fb2249f0742cd391796b2a07c6611a696f7681a (diff)
downloadirssi-8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8.zip
several fixes to make irssi compile without warnings with MIPSpro
also fixed ctcp_queue_clean() - it might have crashed sometimes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/ctcp.c')
-rw-r--r--src/irc/core/ctcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/ctcp.c b/src/irc/core/ctcp.c
index a1d1f2df..3072e2f4 100644
--- a/src/irc/core/ctcp.c
+++ b/src/irc/core/ctcp.c
@@ -33,7 +33,7 @@ static void ctcp_queue_clean(IRC_SERVER_REC *server)
{
GSList *tmp, *next;
- for (tmp = server->ctcpqueue; tmp != NULL; tmp = tmp->next) {
+ for (tmp = server->ctcpqueue; tmp != NULL; tmp = next) {
next = tmp->next;
if (!server_idle_find(server, GPOINTER_TO_INT(tmp->data))) {
server->ctcpqueue =