aboutsummaryrefslogtreecommitdiff
path: root/tests/echo_srv.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-10-01 10:54:53 +0200
committerAndreas Schneider <asn@samba.org>2018-10-23 15:39:30 +0200
commit04091a9e1684970cca87a046f394addfb0c6664b (patch)
tree6f7b7f15c5cde91a3402907d2bae511c2f3c20e3 /tests/echo_srv.c
parentc49a62956df63d8e2110de3a91bd69981a05a789 (diff)
downloadsocket_wrapper-04091a9e1684970cca87a046f394addfb0c6664b.tar.gz
socket_wrapper-04091a9e1684970cca87a046f394addfb0c6664b.tar.xz
socket_wrapper-04091a9e1684970cca87a046f394addfb0c6664b.zip
echo_srv: Only use 128K as buffer size instead of 4MB
This produced errors built with clang. Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'tests/echo_srv.c')
-rw-r--r--tests/echo_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/echo_srv.c b/tests/echo_srv.c
index d2f3967..555c3b4 100644
--- a/tests/echo_srv.c
+++ b/tests/echo_srv.c
@@ -33,7 +33,7 @@
#define BACKLOG 5
#ifndef BUFSIZE
-#define BUFSIZE 0x400000
+#define BUFSIZE 0x20000 /* 128K */
#endif /* BUFSIZE */
#ifndef discard_const