From 8f7d437eb6a5232f9cfa7b0c6c0ac89ca964924f Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Mon, 11 Jun 2012 10:48:23 +0200 Subject: [PATCH] Use right size value as input for splice. --- libcitadel/lib/stringbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcitadel/lib/stringbuf.c b/libcitadel/lib/stringbuf.c index 79b5f5d2f..e1df8f465 100644 --- a/libcitadel/lib/stringbuf.c +++ b/libcitadel/lib/stringbuf.c @@ -3998,7 +3998,7 @@ int FileRecvChunked(FDIOBuffer *FDB, const char **Err) NULL, FDB->OtherFD, &FDB->TotalSentAlready, - pipesize, + FDB->PipeSize, SPLICE_F_MORE | SPLICE_F_MOVE); if (sent == -1) -- 2.30.2