From b40717749648b972585cba04b69dc398e1e8e9fd Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 14 Oct 2014 16:13:36 +0200 Subject: [PATCH] streaming: Update the buf pointer when doing partial writes. This fixes commit 72070d1ba15a45ce06519074846a612b97a4e54f. --- plugins/streaming/streaming.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/streaming/streaming.c b/plugins/streaming/streaming.c index 619c452..2381e60 100644 --- a/plugins/streaming/streaming.c +++ b/plugins/streaming/streaming.c @@ -202,6 +202,7 @@ streaming_pwrite (void *handle, const void *buf, errorstate = 1; return -1; } + buf += r; highestwrite += r; count -= r; } -- 2.0.4