summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_templates.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_templates.c')
-rw-r--r--src/lib/merchant_api_get_templates.c10
1 files changed, 5 insertions, 5 deletions
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);