Commit Diff


commit - 676fba6fa2123ead1a58b5589fb71d9a861bb87d
commit + 4c2d8c1a16117ab780cde44932f260eceb855cb5
blob - 7b62291030830c86c81005aa062efe21bc7ddf73
blob + 154ed14ab9fa8438455a53680f175be822bdb2b9
--- gemtext.c
+++ gemtext.c
@@ -254,7 +254,7 @@ parse_pre_start(struct parser *p, enum line_type t, co
 		return emit_line(p, t, NULL, NULL);
 
 	buf += 3;
-	len += 3;
+	len -= 3;
 
 	while (len > 0 && isspace(buf[0])) {
 		buf++;