diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-02 22:28:35 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-11-02 22:28:35 +0100 |
commit | 2d198327bc71954ff4d78042f67612a3a3b40361 (patch) | |
tree | 72f711dd2747746e54e780dc67cc6aff92795b84 /src | |
parent | 3a3c842e0eb3efeea45155c5ef06d5662733f332 (diff) | |
download | merchant-2d198327bc71954ff4d78042f67612a3a3b40361.tar.gz merchant-2d198327bc71954ff4d78042f67612a3a3b40361.tar.bz2 merchant-2d198327bc71954ff4d78042f67612a3a3b40361.zip |
minor change
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 |