projects
/
project
/
uclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add missing prototype for uclient_backend_set_error
[project/uclient.git]
/
uclient-example.c
diff --git
a/uclient-example.c
b/uclient-example.c
index
07b330d
..
05f344d
100644
(file)
--- a/
uclient-example.c
+++ b/
uclient-example.c
@@
-9,7
+9,7
@@
static void example_header_done(struct uclient *cl)
struct blob_attr *cur;
int rem;
- printf("Headers
: \n"
);
+ printf("Headers
(%d): \n", cl->status_code
);
blobmsg_for_each_attr(cur, cl->meta, rem) {
printf("%s=%s\n", blobmsg_name(cur), (char *) blobmsg_data(cur));
}