mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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:
parent
78bbff304e
commit
0a86cf7e37
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user