summaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-28 19:58:20 +0100
committerChristian Grothoff <christian@grothoff.org>2015-01-28 19:58:20 +0100
commit554ee3d4da95a9fcfd408f1085586d0b6d1834f4 (patch)
tree0a157dd6545e7fc192e29f409365828e9e205d51 /src/mint/taler-mint-httpd_responses.h
parent2e0e30291c4e490389f85bbd4973374f0adf22f4 (diff)
downloadexchange-554ee3d4da95a9fcfd408f1085586d0b6d1834f4.tar.gz
exchange-554ee3d4da95a9fcfd408f1085586d0b6d1834f4.tar.bz2
exchange-554ee3d4da95a9fcfd408f1085586d0b6d1834f4.zip
cleaning up some memory management issues in response generation
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.h')
-rw-r--r--src/mint/taler-mint-httpd_responses.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_responses.h b/src/mint/taler-mint-httpd_responses.h
index 30c9e1185..421113eed 100644
--- a/src/mint/taler-mint-httpd_responses.h
+++ b/src/mint/taler-mint-httpd_responses.h
@@ -34,8 +34,7 @@
/**
- * Send JSON object as response. Decreases the reference count of the
- * JSON object.
+ * Send JSON object as response.
*
* @param connection the MHD connection
* @param json the json object
@@ -44,7 +43,7 @@
*/
int
TALER_MINT_reply_json (struct MHD_Connection *connection,
- json_t *json,
+ const json_t *json,
unsigned int response_code);