Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix parameters without value
[src/app-framework-binder.git]
/
src
/
afb-hreq.c
diff --git
a/src/afb-hreq.c
b/src/afb-hreq.c
index
5ac4584
..
8928266
100644
(file)
--- a/
src/afb-hreq.c
+++ b/
src/afb-hreq.c
@@
-519,8
+519,8
@@
static int _iterargs_(struct iterdata *id, enum MHD_ValueKind kind, const char *
return 1;
return id->iterator(id->closure, (struct afb_arg){
.name = key,
return 1;
return id->iterator(id->closure, (struct afb_arg){
.name = key,
- .value = value,
- .size = 0,
+ .value = value
? : ""
,
+ .size =
value ? strlen(value) :
0,
.path = NULL
});
}
.path = NULL
});
}