summaryrefslogtreecommitdiff
path: root/src/io/write.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/write.cpp')
-rw-r--r--src/io/write.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/write.cpp b/src/io/write.cpp
index 5993a69..a216b03 100644
--- a/src/io/write.cpp
+++ b/src/io/write.cpp
@@ -89,6 +89,7 @@ namespace io
dat += rv;
len -= rv;
}
+ std::copy(dat, dat + len, buf);
buflen = len;
maybe_linebuffered: