summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2026-04-12 17:05:44 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2026-04-12 23:21:02 -0700
commit46c08d85743e30cd024264703e4e1b6f8927fb58 (patch)
tree12aea6d48e3d5cb881f66ad93ecdc0e43603a3cf /lib-src
parent180953c8f656edfc4333091d59d0d5cacbe277e9 (diff)
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.c2
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)
enum { SEND_BUFFER_SIZE = 4096 };
/* Buffer to accumulate data to send in TCP connections. */
- static char send_buffer[SEND_BUFFER_SIZE + 1];
+ static char send_buffer[SEND_BUFFER_SIZE];
/* Fill pointer for the send buffer. */
static int sblen;