Commit 33e19c6e authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(read_avail_input): Don't pass WAITP to read_socket_hook.

parent cb581b1a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment