aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2026-04-12 17:05:44 -0700
committerPaul Eggert2026-04-12 23:21:02 -0700
commit46c08d85743e30cd024264703e4e1b6f8927fb58 (patch)
tree12aea6d48e3d5cb881f66ad93ecdc0e43603a3cf /lib-src
parent180953c8f656edfc4333091d59d0d5cacbe277e9 (diff)
downloademacs-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.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)
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;