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;