Don't forget to increment offset when handling strings
This commit is contained in:
parent
9c8837c4ef
commit
31b227fcea
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ ssize_t skipstone_message_pack(void *message,
|
|||
|
||||
memcpy((uint8_t *)message + offset, value, sz);
|
||||
|
||||
offset += sz;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue