From 03526471189711f6656dfa074fc6a8fd7f3d340b Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sat, 9 Mar 2013 14:49:15 +0200 Subject: Implement error message support for the encoder side. Update issue 7 Status: FixedInGit --- tests/test_encode3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_encode3.c') diff --git a/tests/test_encode3.c b/tests/test_encode3.c index 4f6859ac..982ad3c8 100644 --- a/tests/test_encode3.c +++ b/tests/test_encode3.c @@ -124,7 +124,7 @@ int main(int argc, char **argv) } else { - fprintf(stderr, "Encoding failed!\n"); + fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream)); return 1; /* Failure */ } } -- cgit 1.2.3-korg