diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-03-09 14:49:15 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2013-03-09 14:49:15 +0200 |
commit | 03526471189711f6656dfa074fc6a8fd7f3d340b (patch) | |
tree | 12e1969b04909547bf32309cfcc4c9409e24fbbc /tests/test_encode1.c | |
parent | 9b6641ac643af4f301e05421f2b228084dcc8693 (diff) |
Implement error message support for the encoder side.
Update issue 7
Status: FixedInGit
Diffstat (limited to 'tests/test_encode1.c')
-rw-r--r-- | tests/test_encode1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_encode1.c b/tests/test_encode1.c index 2e978296..742c99f4 100644 --- a/tests/test_encode1.c +++ b/tests/test_encode1.c @@ -27,6 +27,7 @@ int main() } else { + fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); return 1; /* Failure */ } } |