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
This commit is contained in:
Timo Sirainen 2000-11-23 21:40:07 +00:00 committed by cras
commit 8ce36c05ea
30 changed files with 80 additions and 72 deletions

View file

@ -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 =