From 46c08d85743e30cd024264703e4e1b6f8927fb58 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 12 Apr 2026 17:05:44 -0700 Subject: [PATCH] emacsclient send_buffer size-- * lib-src/emacsclient.c (send_to_emacs_len): No need to add 1 to SEND_BUFFER_SIZE. --- lib-src/emacsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;