aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-25 03:52:58 +0000
committerRichard M. Stallman1996-09-25 03:52:58 +0000
commit33e19c6e4bdb72f79102eed5fb445ac7a836795b (patch)
treeba88616fc1020841a43859778f5ab5fba5cbcb18 /src
parentcb581b1a2eb30a3f6c0bad5e1b88e958bd7cadf9 (diff)
downloademacs-33e19c6e4bdb72f79102eed5fb445ac7a836795b.tar.gz
emacs-33e19c6e4bdb72f79102eed5fb445ac7a836795b.zip
(read_avail_input): Don't pass WAITP to read_socket_hook.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c3
1 files changed, 1 insertions, 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)
4787 4787
4788 if (read_socket_hook) 4788 if (read_socket_hook)
4789 /* No need for FIONREAD or fcntl; just say don't wait. */ 4789 /* No need for FIONREAD or fcntl; just say don't wait. */
4790 nread = (*read_socket_hook) (input_fd, buf, KBD_BUFFER_SIZE, 4790 nread = (*read_socket_hook) (input_fd, buf, KBD_BUFFER_SIZE, expected);
4791 expected, expected);
4792 else 4791 else
4793 { 4792 {
4794 /* Using KBD_BUFFER_SIZE - 1 here avoids reading more than 4793 /* Using KBD_BUFFER_SIZE - 1 here avoids reading more than