From: Petteri Aimonen Date: Wed, 16 Jan 2013 14:28:51 +0000 (+0200) Subject: Fix bug with error messages. X-Git-Tag: 3.99.1~14^2~426 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=88eba4bc27908659c6c8d203b5f16220a3736fb2;p=apps%2Flow-level-can-service.git Fix bug with error messages. Update issue 52 Status: FixedInGit --- 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 */