summaryrefslogtreecommitdiffhomepage
path: root/buffer.c
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2016-01-01 15:02:09 +0100
committerFrancois Perrad <francois.perrad@gadz.org>2016-01-01 15:02:09 +0100
commit9bda22e70219c3056c07837803d0289b76453adb (patch)
tree0da32b7188892b1faea5fb1a6a3d97f587a8b54e /buffer.c
parent23ac7f56fa2acd9f35e6b8ca36602f3c14e986cd (diff)
more hard tab
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 1e5a864..cd974e3 100644
--- a/buffer.c
+++ b/buffer.c
@@ -98,7 +98,7 @@ buffer* buf_newcopy(buffer* buf) {
ret = buf_new(buf->len);
ret->len = buf->len;
if (buf->len > 0) {
- memcpy(ret->data, buf->data, buf->len);
+ memcpy(ret->data, buf->data, buf->len);
}
return ret;
}