diff buffer.c @ 1256:506f7681d0f8 coverity

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 22:45:43 +0800
parents 2bb4c662d1c2
children 6914eedb1072
line wrap: on
line diff
--- a/buffer.c	Tue Dec 15 22:24:34 2015 +0800
+++ b/buffer.c	Tue Mar 15 22:45:43 2016 +0800
@@ -98,7 +98,7 @@
 	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;
 }