]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_avail_input): Don't pass WAITP to read_socket_hook.
authorRichard M. Stallman <rms@gnu.org>
Wed, 25 Sep 1996 03:52:58 +0000 (03:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 25 Sep 1996 03:52:58 +0000 (03:52 +0000)
src/keyboard.c

index e55d1e06650aa7ce8ca796fdf0cd6bf24dd68f19..ad5c2492ccbc81307416accc68714d222be312c6 100644 (file)
@@ -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