Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Allow defining field type in .proto.
[apps/agl-service-can-low-level.git]
/
example
/
client.c
diff --git
a/example/client.c
b/example/client.c
index
9ad9c8c
..
edc8394
100644
(file)
--- 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, "Decod
ing failed.\n"
);
+ fprintf(stderr, "Decod
e failed: %s\n", PB_GET_ERROR(&input)
);
return false;
}