summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-01-16 16:32:48 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-01-16 16:32:48 +0200
commiteab4151a99f0c2fc2f41c51356d04898255ccbfe (patch)
treeea3957cd7190ea197fdbf4754958b548c6219055
parent8e840cc81aa29c6cebf66e252cf8445abb2b03f9 (diff)
Oops, typoed #ifdef; again fixing previous commit.
-rw-r--r--pb_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pb_decode.c b/pb_decode.c
index 96e0c43b..7c68b5a2 100644
--- a/pb_decode.c
+++ b/pb_decode.c
@@ -226,7 +226,7 @@ void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream)
{
stream->state = substream->state;
-#ifdef PB_NO_ERRMSG
+#ifndef PB_NO_ERRMSG
stream->errmsg = substream->errmsg;
#endif
}