diff options
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c index 2bb897d..1741f14 100644 --- a/server.c +++ b/server.c @@ -149,7 +149,7 @@ void serverFormat(const char *format, ...) { } void serverRecv(void) { - static char buf[4096]; + static char buf[MessageCap]; static size_t len; ssize_t read = tls_read(client, &buf[len], sizeof(buf) - len); |