wrong file name
authorPetteri Aimonen <jpa@npb.mail.kapsi.fi>
Wed, 24 Aug 2011 12:13:24 +0000 (12:13 +0000)
committerPetteri Aimonen <jpa@npb.mail.kapsi.fi>
Wed, 24 Aug 2011 12:13:24 +0000 (12:13 +0000)
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@967 e3a754e5-d11d-0410-8d38-ebb782a927b9

tests/encode_unittests.c
tests/test_decode1.c
tests/test_encode1.c

index b8664d9..926a254 100644 (file)
@@ -262,7 +262,7 @@ int main()
         TEST(WRITES(pb_encode(&s, CallbackContainerContainer_fields, &msg2),
                     "\x0A\x04\x0A\x02\x08\x55"))
         
-        /* Misbehaving callback */
+        /* Misbehaving callback: varying output between calls */
         msg.submsg.data.funcs.encode = &crazyfieldcallback;
         msg.submsg.data.arg = &state;
         msg2.submsg.submsg.data.funcs.encode = &crazyfieldcallback;
index b7698ef..def45a6 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <pb_decode.h>
-#include "person.h"
+#include "person.pb.h"
 
 bool print_person(pb_istream_t *stream)
 {
index ac13df3..412a271 100644 (file)
@@ -1,6 +1,6 @@
 #include <stdio.h>
 #include <pb_encode.h>
-#include "person.h"
+#include "person.pb.h"
 
 bool streamcallback(pb_ostream_t *stream, const uint8_t *buf, size_t count)
 {