emacsclient send_buffer size--
* lib-src/emacsclient.c (send_to_emacs_len): No need to add 1 to SEND_BUFFER_SIZE.
This commit is contained in:
@@ -821,7 +821,7 @@ send_to_emacs_len (HSOCKET s, const char *data, ptrdiff_t dlen)
|
|||||||
enum { SEND_BUFFER_SIZE = 4096 };
|
enum { SEND_BUFFER_SIZE = 4096 };
|
||||||
|
|
||||||
/* Buffer to accumulate data to send in TCP connections. */
|
/* 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. */
|
/* Fill pointer for the send buffer. */
|
||||||
static int sblen;
|
static int sblen;
|
||||||
|
|||||||
Reference in New Issue
Block a user