diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-01-16 16:31:45 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-01-16 16:31:45 +0200 |
commit | 8e840cc81aa29c6cebf66e252cf8445abb2b03f9 (patch) | |
tree | 3e69ad827091fb8401db0592b9ebdca68429929e /pb_decode.c | |
parent | 88eba4bc27908659c6c8d203b5f16220a3736fb2 (diff) |
Put previous commit (issue 52) inside #ifndef
Diffstat (limited to 'pb_decode.c')
-rw-r--r-- | pb_decode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pb_decode.c b/pb_decode.c index 6b6066e8..96e0c43b 100644 --- a/pb_decode.c +++ b/pb_decode.c @@ -225,7 +225,10 @@ 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; + +#ifdef PB_NO_ERRMSG stream->errmsg = substream->errmsg; +#endif } /* Iterator for pb_field_t list */ |