diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/merchant_api_common.h | 2 | ||||
-rw-r--r-- | src/lib/merchant_api_get_templates.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/merchant_api_common.h b/src/lib/merchant_api_common.h index 0ffe953d..19a92149 100644 --- a/src/lib/merchant_api_common.h +++ b/src/lib/merchant_api_common.h @@ -32,7 +32,7 @@ * @param cb callback * @param cb_cls closure for @a cb * @param response_code HTTP response code, 0 on error - * @param response response body, NULL if not JSON + * @param json response body, NULL if not JSON */ void TALER_MERCHANT_handle_order_creation_response_ ( diff --git a/src/lib/merchant_api_get_templates.c b/src/lib/merchant_api_get_templates.c index cff408e4..030d80cb 100644 --- a/src/lib/merchant_api_get_templates.c +++ b/src/lib/merchant_api_get_templates.c @@ -68,12 +68,12 @@ struct TALER_MERCHANT_TemplatesGetHandle * Parse template information from @a ia. * * @param ia JSON array (or NULL!) with template data - * @param wgh operation handle + * @param tgh operation handle * @return #GNUNET_OK on success */ static int parse_templates (const json_t *ia, - struct TALER_MERCHANT_TemplatesGetHandle *tgh) + struct TALER_MERCHANT_TemplatesGetHandle *tgh) { unsigned int ies_len = json_array_size (ia); struct TALER_MERCHANT_TemplateEntry ies[ies_len]; @@ -128,8 +128,8 @@ parse_templates (const json_t *ia, */ static void handle_get_templates_finished (void *cls, - long response_code, - const void *response) + long response_code, + const void *response) { struct TALER_MERCHANT_TemplatesGetHandle *tgh = cls; const json_t *json = response; @@ -166,7 +166,7 @@ handle_get_templates_finished (void *cls, if ( (! json_is_array (templates)) || (GNUNET_OK == parse_templates (templates, - tgh)) ) + tgh)) ) { GNUNET_JSON_parse_free (spec); TALER_MERCHANT_templates_get_cancel (tgh); |