Publishing nanopb-0.1.7
[apps/agl-service-can-low-level.git] / example / client.c
index 9ad9c8c..edc8394 100644 (file)
@@ -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;
     }