Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
88eba4b
)
Put previous commit (issue 52) inside #ifndef
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Wed, 16 Jan 2013 14:31:45 +0000
(16:31 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Wed, 16 Jan 2013 14:31:45 +0000
(16:31 +0200)
pb_decode.c
patch
|
blob
|
history
diff --git
a/pb_decode.c
b/pb_decode.c
index
6b6066e
..
96e0c43
100644
(file)
--- 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 */