diff options
| author | Paul Eggert | 2026-04-12 17:05:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2026-04-12 23:21:02 -0700 |
| commit | 46c08d85743e30cd024264703e4e1b6f8927fb58 (patch) | |
| tree | 12aea6d48e3d5cb881f66ad93ecdc0e43603a3cf /lib-src | |
| parent | 180953c8f656edfc4333091d59d0d5cacbe277e9 (diff) | |
| download | emacs-46c08d85743e30cd024264703e4e1b6f8927fb58.tar.gz emacs-46c08d85743e30cd024264703e4e1b6f8927fb58.zip | |
emacsclient send_buffer size--
* lib-src/emacsclient.c (send_to_emacs_len):
No need to add 1 to SEND_BUFFER_SIZE.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index fe5f405efb4..3ee4e3f92d5 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -821,7 +821,7 @@ send_to_emacs_len (HSOCKET s, const char *data, ptrdiff_t dlen) | |||
| 821 | enum { SEND_BUFFER_SIZE = 4096 }; | 821 | enum { SEND_BUFFER_SIZE = 4096 }; |
| 822 | 822 | ||
| 823 | /* Buffer to accumulate data to send in TCP connections. */ | 823 | /* Buffer to accumulate data to send in TCP connections. */ |
| 824 | static char send_buffer[SEND_BUFFER_SIZE + 1]; | 824 | static char send_buffer[SEND_BUFFER_SIZE]; |
| 825 | 825 | ||
| 826 | /* Fill pointer for the send buffer. */ | 826 | /* Fill pointer for the send buffer. */ |
| 827 | static int sblen; | 827 | static int sblen; |