summaryrefslogtreecommitdiffstats
path: root/example/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/client.c')
-rw-r--r--example/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/client.c b/example/client.c
index 9ad9c8c9..edc83948 100644
--- a/example/client.c
+++ b/example/client.c
@@ -72,7 +72,7 @@ bool listdir(int fd, char *path)
if (!pb_decode(&input, ListFilesResponse_fields, &response))
{
- fprintf(stderr, "Decoding failed.\n");
+ fprintf(stderr, "Decode failed: %s\n", PB_GET_ERROR(&input));
return false;
}