summaryrefslogtreecommitdiffstats
path: root/qacp.c
diff options
context:
space:
mode:
Diffstat (limited to 'qacp.c')
-rw-r--r--qacp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qacp.c b/qacp.c
index b944b9b..45ee641 100644
--- a/qacp.c
+++ b/qacp.c
@@ -134,7 +134,7 @@ qacp_sendonefile(const char *host, const char *srcfile, const char *destfile)
ssize_t nbytes;
off_t offset;
struct stat sb;
- const int bufsize = 16384;
+ const int bufsize = QARSH_MAX_PACKET_SIZE/2;
char buf[bufsize];