From: Wilfried Goesgens Date: Mon, 11 Jun 2012 08:48:23 +0000 (+0200) Subject: Use right size value as input for splice. X-Git-Tag: v8.12~17^2 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=8f7d437eb6a5232f9cfa7b0c6c0ac89ca964924f Use right size value as input for splice. --- 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)