json: Minor typo fixes

* src/gpgme-json.c: Minor typo fixes.
This commit is contained in:
Andre Heinecke 2018-05-24 10:26:41 +02:00
parent 3a9e6a8e08
commit fd5e14660a
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -490,7 +490,7 @@ _create_new_context (gpgme_protocol_t proto)
/* Return a context object for protocol PROTO. This is currently a /* Return a context object for protocol PROTO. This is currently a
* statuically allocated context initialized for PROTO. Termnates * statically allocated context initialized for PROTO. Terminates
* process on failure. */ * process on failure. */
static gpgme_ctx_t static gpgme_ctx_t
get_context (gpgme_protocol_t proto) get_context (gpgme_protocol_t proto)
@ -597,11 +597,11 @@ data_from_base64_string (gpgme_data_t *r_data, cjson_t json)
/* Create a "data" object and the "type", "base64" and "more" flags /* Create a "data" object and the "type", "base64" and "more" flags
* from DATA and append them to RESULT. Ownership if DATA is * from DATA and append them to RESULT. Ownership of DATA is
* transferred to this function. TYPE must be a fixed string. * transferred to this function. TYPE must be a fixed string.
* CHUNKSIZE is the chunksize requested from the caller. If BASE64 is * CHUNKSIZE is the chunksize requested from the caller. If BASE64 is
* -1 the need for base64 encoding is determined by the content of * -1 the need for base64 encoding is determined by the content of
* DATA, all other values are take as rtue or false. Note that * DATA, all other values are taken as true or false. Note that
* op_getmore has similar code but works on PENDING_DATA which is set * op_getmore has similar code but works on PENDING_DATA which is set
* here. */ * here. */
static gpg_error_t static gpg_error_t