diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-05 09:16:48 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-05 09:16:48 +0200 |
commit | 7bd9e5fb6fbf5ca4bb4dda457b2be53f94781656 (patch) | |
tree | 6bda37c2ef496841ec9c8ab0909e46a7ee33f7c6 /src/backend | |
parent | 01f946e7e059ad4f1490593145b783db6951b989 (diff) |
remove unused args from API, towards supporting /contract in testcase
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/taler-merchant-httpd_util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_util.c b/src/backend/taler-merchant-httpd_util.c index 97d1db67..800e41ab 100644 --- a/src/backend/taler-merchant-httpd_util.c +++ b/src/backend/taler-merchant-httpd_util.c @@ -29,7 +29,6 @@ #include "taler-merchant-httpd_responses.h" - /** * Hashes a plain JSON contract sending the result to the other end of * HTTP communication @@ -48,7 +47,6 @@ MH_handler_hash_contract (struct TMH_RequestHandler *rh, const char *upload_data, size_t *upload_data_size) { - json_t *root; json_t *jcontract; int res; @@ -102,8 +100,7 @@ MH_handler_hash_contract (struct TMH_RequestHandler *rh, MHD_HTTP_OK, "{s:O}", "hash", GNUNET_JSON_from_data (&hc, - sizeof (hc))); + sizeof (hc))); json_decref (root); return res; - } |