Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobba <tobias.haegermarck@gmail.com>2016-12-21 23:02:53 +0300
committerTobba <tobias.haegermarck@gmail.com>2017-01-12 06:53:49 +0300
commit31e09c6630c47d0aa1c1ec3909a936ba5674254f (patch)
treed6e71133408b998a9e86568b365421fd7b4e722d /pb_decode.h
parentafdbca39edfaef58073f661d23300e1133c4e8af (diff)
Fix closing a non-empty substream resulting in an incorrect stream state
Diffstat (limited to 'pb_decode.h')
-rw-r--r--pb_decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pb_decode.h b/pb_decode.h
index e7eb209..a426bdd 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" */