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
improved use of const qualifier
[src/app-framework-binder.git]
/
src
/
helper-api.c
diff --git
a/src/helper-api.c
b/src/helper-api.c
index
77b013e
..
5863e41
100644
(file)
--- a/
src/helper-api.c
+++ b/
src/helper-api.c
@@
-57,7
+57,7
@@
PUBLIC json_object* getPingTest(AFB_request *request) {
// Helper to retrieve argument from connection
// Helper to retrieve argument from connection
-PUBLIC const char* getQueryValue(
AFB_request * request,
char *name) {
+PUBLIC const char* getQueryValue(
const AFB_request * request, const
char *name) {
const char *value;
value = MHD_lookup_connection_value(request->connection, MHD_GET_ARGUMENT_KIND, name);
const char *value;
value = MHD_lookup_connection_value(request->connection, MHD_GET_ARGUMENT_KIND, name);