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 833b173..5359c7a 100644
--- a/src/io/write.cpp
+++ b/src/io/write.cpp
@@ -97,6 +97,7 @@ namespace io
dat += rv;
len -= rv;
}
+ std::copy(dat, dat + len, buf);
buflen = len;
maybe_linebuffered: