~jb55/protoverse

3c17c9518f6102ae8006799cab4f1c0fc606c0d1 — William Casarin 2 months ago e33e8cf
remove some logs
1 files changed, 0 insertions(+), 2 deletions(-)

M src/cursor.h
M src/cursor.h => src/cursor.h +0 -2
@@ 198,7 198,6 @@ static inline int cursor_top_int(struct cursor *cur, int *i)
static inline int cursor_pop(struct cursor *cur, u8 *data, int len)
{
	if (unlikely(cur->p - len < cur->start)) {
		printf("cursor_pop oob\n");
		return 0;
	}



@@ 211,7 210,6 @@ static inline int cursor_pop(struct cursor *cur, u8 *data, int len)
static inline int cursor_push(struct cursor *cursor, u8 *data, int len)
{
	if (unlikely(cursor->p + len > cursor->end)) {
		printf("cursor_push oob\n");
		return 0;
	}