diff options
author | Matt Johnston <matt@ucc.asn.au> | 2016-03-15 21:41:22 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-15 21:41:22 +0800 |
commit | 6bfbcdbfdb00f22727cfb749b1c60a80210ecfc7 (patch) | |
tree | 3e6f647d212466933d744e47dcdbcf97ff00ecfc /buffer.c | |
parent | fdc61f3ab2c07f3f8d0546ee83b1a6776cc1786e (diff) | |
parent | 645b2541732cebbccd499c4e8bf18f86d77bff0f (diff) |
Merge branch 'fperrad-20151231_indent'
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |