Skip to content

Commit 0071785

Browse files
committed
Consume nil in Unpacker#skip_nil
1 parent 8c429cd commit 0071785

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/msgpack/unpacker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,8 +911,8 @@ int msgpack_unpacker_skip_nil(msgpack_unpacker_t* uk)
911911
return b;
912912
}
913913
if(b == 0xc0) {
914+
reset_head_byte(uk);
914915
return 1;
915916
}
916917
return 0;
917918
}
918-

0 commit comments

Comments
 (0)