From 88eba4bc27908659c6c8d203b5f16220a3736fb2 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Wed, 16 Jan 2013 16:28:51 +0200 Subject: [PATCH] Fix bug with error messages. Update issue 52 Status: FixedInGit --- pb_decode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pb_decode.c b/pb_decode.c index c9652af..6b6066e 100644 --- a/pb_decode.c +++ b/pb_decode.c @@ -225,6 +225,7 @@ bool checkreturn pb_make_string_substream(pb_istream_t *stream, pb_istream_t *su void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream) { stream->state = substream->state; + stream->errmsg = substream->errmsg; } /* Iterator for pb_field_t list */ -- 2.16.6