Skip to content
Snippets Groups Projects
Commit 68ee11a7 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Vladimir Davydov
Browse files

xrow: pass xrow_header to xrow_on_decode_error

Since all decoding functions except xrow_decode_header() decode a packet
body, let's pass an xrow_header object to xrow_on_decode_error() instead
of raw pointers to msgpack data. This will simplify packet body decoding
functions a bit while in xrow_decode_header() we can use dump_row_hex()
directly without hurting readability.

While we are at it, make dump_row_hex() static, because it's not used
outside its compilation unit.
parent a0753cf2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment