summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcl_test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vcl/vcl_test.h b/src/vcl/vcl_test.h
index 638d519d95c..cb38f291cfb 100644
--- a/src/vcl/vcl_test.h
+++ b/src/vcl/vcl_test.h
@@ -509,6 +509,7 @@ vcl_test_write (int fd, uint8_t * buf, uint32_t nbytes,
if (tx_bytes != nbytes)
{
nbytes_left = nbytes_left - rv;
+ buf += rv;
if (stats)
stats->tx_incomp++;
}