summaryrefslogtreecommitdiffstats
path: root/src/rest-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest-api.c')
-rw-r--r--src/rest-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest-api.c b/src/rest-api.c
index ca1c1a0a..b3b1c258 100644
--- a/src/rest-api.c
+++ b/src/rest-api.c
@@ -71,7 +71,7 @@ PUBLIC json_object* apiPingTest(AFB_session *session, AFB_request *request, void
// request all query key/value
len = getQueryAll (request, query, sizeof(query));
- if (len == 0) strcpy (&query,"NoSearchQueryList");
+ if (len == 0) strcpy (query,"NoSearchQueryList");
// check if we have some post data
if (request->post == NULL) request->post="NoData";