changeset 16325:bcc66c0b3bff

(read_avail_input): Don't pass WAITP to read_socket_hook.
author Richard M. Stallman <rms@gnu.org>
date Wed, 25 Sep 1996 03:52:58 +0000
parents 451cfd3f814a
children a85909645f7a
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Sep 25 03:51:05 1996 +0000
+++ b/src/keyboard.c	Wed Sep 25 03:52:58 1996 +0000
@@ -4787,8 +4787,7 @@
 
   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