1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04:00

/CAT, /HELP xx and reading autorun commands stuck irssi to infinite

loop.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@431 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-04 21:45:54 +00:00 committed by cras
parent 78bbff304e
commit 0a86cf7e37
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ static void sig_autorun(void)
ret = line_split(tmpbuf, recvlen, &str, &buffer);
if (ret > 0) eval_special_string(str, "", active_win->active_server, active_win->active);
} while (ret >= 0);
} while (ret > 0);
line_split_free(buffer);
close(f);

View File

@ -132,7 +132,7 @@ static int show_help(COMMAND_REC *cmd)
ret = line_split(tmpbuf, recvlen, &str, &buffer);
if (ret > 0) printtext(NULL, NULL, MSGLEVEL_NEVER, str);
}
while (ret >= 0);
while (ret > 0);
line_split_free(buffer);
close(f);
@ -269,7 +269,7 @@ static void cmd_cat(const char *data)
ret = line_split(tmpbuf, recvlen, &str, &buffer);
if (ret > 0) printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP, "%s", str);
} while (ret >= 0);
} while (ret > 0);
line_split_free(buffer);
close(f);