From 33e19c6e4bdb72f79102eed5fb445ac7a836795b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 25 Sep 1996 03:52:58 +0000 Subject: [PATCH] (read_avail_input): Don't pass WAITP to read_socket_hook. --- src/keyboard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index e55d1e06650..ad5c2492ccb 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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 -- 2.39.2