about summary refs log tree commit diff
path: root/blaze822.c
diff options
context:
space:
mode:
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blaze822.c b/blaze822.c
index 8934844..21a3b12 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -365,7 +365,7 @@ blaze822_mem(char *src, size_t len)
 		return 0;
 	memcpy(buf, src, hlen);
 
-	end = buf+hlen+1;
+	end = buf+hlen;
 	*end = 0;   // dereferencing *end is safe
 
 	unfold_hdr(buf, end);