diff options
| author | Richard M. Stallman | 1996-09-25 03:52:58 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-09-25 03:52:58 +0000 |
| commit | 33e19c6e4bdb72f79102eed5fb445ac7a836795b (patch) | |
| tree | ba88616fc1020841a43859778f5ab5fba5cbcb18 /src | |
| parent | cb581b1a2eb30a3f6c0bad5e1b88e958bd7cadf9 (diff) | |
| download | emacs-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.c | 3 |
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 |