diff options
author | Tobba <tobias.haegermarck@gmail.com> | 2016-12-21 21:02:53 +0100 |
---|---|---|
committer | Tobba <tobias.haegermarck@gmail.com> | 2017-01-12 04:53:49 +0100 |
commit | 31e09c6630c47d0aa1c1ec3909a936ba5674254f (patch) | |
tree | d6e71133408b998a9e86568b365421fd7b4e722d /pb_decode.h | |
parent | afdbca39edfaef58073f661d23300e1133c4e8af (diff) |
Fix closing a non-empty substream resulting in an incorrect stream state
Diffstat (limited to 'pb_decode.h')
-rw-r--r-- | pb_decode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pb_decode.h b/pb_decode.h index e7eb209c..a426bdd7 100644 --- a/pb_decode.h +++ b/pb_decode.h @@ -144,7 +144,7 @@ bool pb_decode_fixed64(pb_istream_t *stream, void *dest); /* Make a limited-length substream for reading a PB_WT_STRING field. */ bool pb_make_string_substream(pb_istream_t *stream, pb_istream_t *substream); -void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); +bool pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream); #ifdef __cplusplus } /* extern "C" */ |