summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-templates.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-templates.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-templates.c b/src/backend/taler-merchant-httpd_private-post-templates.c
index 1e6206bb..a2112486 100644
--- a/src/backend/taler-merchant-httpd_private-post-templates.c
+++ b/src/backend/taler-merchant-httpd_private-post-templates.c
@@ -46,11 +46,11 @@ templates_equal (const struct TALER_MERCHANTDB_TemplateDetails *t1,
const struct TALER_MERCHANTDB_TemplateDetails *t2)
{
return ( (0 == strcmp (t1->template_description,
- t2->tempate_description)) &&
+ t2->template_description)) &&
(0 == strcmp (t1->image,
t2->image)) &&
- (1 == json_equal (p1->template_contract,
- p2->template_contract));
+ (1 == json_equal (t1->template_contract,
+ t2->template_contract)));
}