echo_srv: Only use 128K as buffer size instead of 4MB
authorAndreas Schneider <asn@cryptomilk.org>
Mon, 1 Oct 2018 08:54:53 +0000 (10:54 +0200)
committerAndreas Schneider <asn@samba.org>
Tue, 23 Oct 2018 13:39:30 +0000 (15:39 +0200)
This produced errors built with clang.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/echo_srv.c

index d2f3967b1d41c69de9fe0fed2af92d2b83d2c7b6..555c3b4685ee869eab07f6999200bcc25ed40c05 100644 (file)
@@ -33,7 +33,7 @@
 #define BACKLOG     5
 
 #ifndef BUFSIZE
-#define BUFSIZE     0x400000
+#define BUFSIZE     0x20000 /* 128K */
 #endif /* BUFSIZE */
 
 #ifndef discard_const