From 0fb5e5e068326b23493952619d7efb640cb37377 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Fri, 24 Aug 2012 21:22:20 +0300 Subject: Implement error messages in the decoder side. Update issue 7 Status: Started --- example_unions/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example_unions') diff --git a/example_unions/decode.c b/example_unions/decode.c index d40cd8ce..b9f4af55 100644 --- a/example_unions/decode.c +++ b/example_unions/decode.c @@ -85,7 +85,7 @@ int main() if (!status) { - printf("Decoding failed.\n"); + printf("Decode failed: %s\n", PB_GET_ERROR(&stream)); return 1; } -- cgit 1.2.3-korg