summaryrefslogtreecommitdiffstats
path: root/example/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/server.c')
-rw-r--r--example/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/server.c b/example/server.c
index 9f27906d..346e9fb9 100644
--- a/example/server.c
+++ b/example/server.c
@@ -55,7 +55,7 @@ void handle_connection(int connfd)
if (!pb_decode(&input, ListFilesRequest_fields, &request))
{
- printf("Decoding failed.\n");
+ printf("Decode failed: %s\n", PB_GET_ERROR(&input));
return;
}