mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(read_avail_input): Don't pass WAITP to read_socket_hook.
This commit is contained in:
parent
cb581b1a2e
commit
33e19c6e4b
1 changed files with 1 additions and 2 deletions
|
|
@ -4787,8 +4787,7 @@ read_avail_input (expected)
|
|||
|
||||
if (read_socket_hook)
|
||||
/* No need for FIONREAD or fcntl; just say don't wait. */
|
||||
nread = (*read_socket_hook) (input_fd, buf, KBD_BUFFER_SIZE,
|
||||
expected, expected);
|
||||
nread = (*read_socket_hook) (input_fd, buf, KBD_BUFFER_SIZE, expected);
|
||||
else
|
||||
{
|
||||
/* Using KBD_BUFFER_SIZE - 1 here avoids reading more than
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue