diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/taler-mint-httpd_parsing.c | 2 | ||||
-rw-r--r-- | src/backend/taler-mint-httpd_parsing.h | 3 |
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 index 3a076cef..5c71e813 100644 --- 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 index e9fad54e..0e959761 100644 --- 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 |