commit 2d198327bc71954ff4d78042f67612a3a3b40361
parent 3a3c842e0eb3efeea45155c5ef06d5662733f332
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Mon, 2 Nov 2015 22:28:35 +0100
minor change
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-mint-httpd_parsing.c b/src/backend/taler-mint-httpd_parsing.c
@@ -351,7 +351,7 @@ TMH_PARSE_post_json (struct MHD_Connection *connection,
* Generate line in parser specification for string. The returned
* string is already nul-terminated internally by JSON, so no length
* information is provided. The string will live as long as the containg
- * JSON will
+ * JSON will, and mut not be freed by the user
* @param field name of the field
* @param[out] pointer to the string
* @return corresponding field spec
diff --git a/src/backend/taler-mint-httpd_parsing.h b/src/backend/taler-mint-httpd_parsing.h
@@ -142,7 +142,8 @@ enum TMH_PARSE_JsonNavigationCommand
TMH_PARSE_JNC_RET_UINT64,
/**
* Return a 'char *' as returned from 'json_string_value ()'.
- * So it will live as long as the containg JSON is not freed
+ * So it will live as long as the containg JSON is not freed,
+ * and must not be freed by the user
*/
TMH_PARSE_JNC_RET_STRING