Skip to content
Snippets Groups Projects
Unverified Commit d0d4f666 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa Committed by GitHub
Browse files

Merge pull request #192 from danbev/pkt_decode_padding_frame-return-value

Return dest->len from ngtcp2_pkt_decode_padding_frame
parents be5054d1 684536d3
No related merge requests found
......@@ -749,7 +749,7 @@ size_t ngtcp2_pkt_decode_padding_frame(ngtcp2_padding *dest,
dest->type = NGTCP2_FRAME_PADDING;
dest->len = (size_t)(p - payload);
return (size_t)(p - payload);
return dest->len;
}
ssize_t ngtcp2_pkt_decode_reset_stream_frame(ngtcp2_reset_stream *dest,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment