protoverse

A metaverse protocol
git clone git://jb55.com/protoverse
Log | Files | Refs | README | LICENSE

commit d5f5405b8020f2c999b0b282534f4123d4d60ed6
parent b011e143e82c622b370d3f704396ccf5de4bf907
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 16 Jul 2021 13:42:31 -0700

OMG CURSOR POP WAS BROKEN!?

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/cursor.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cursor.h b/src/cursor.h @@ -167,7 +167,7 @@ static inline int cursor_pop(struct cursor *cur, u8 *data, int len) } cur->p -= len; - memcpy(cur->p, data, len); + memcpy(data, cur->p, len); return 1; }