Oops, typoed #ifdef; again fixing previous commit.
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>
Wed, 16 Jan 2013 14:32:48 +0000 (16:32 +0200)
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>
Wed, 16 Jan 2013 14:32:48 +0000 (16:32 +0200)
pb_decode.c

index 96e0c43..7c68b5a 100644 (file)
@@ -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
 }