diff options
author | priscilla <priscilla.huang@efrei.net> | 2022-11-22 08:07:11 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2022-11-22 08:14:50 -0500 |
commit | c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf (patch) | |
tree | 850a6e56ff658e0fd6c861219af73067eaca2e22 /src/backend/taler-merchant-httpd_private-post-templates.c | |
parent | ae6d2de1610ceb06e58b945a04a3d184b95d3e44 (diff) | |
download | merchant-c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf.tar.gz merchant-c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf.tar.bz2 merchant-c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf.zip |
template post, get, patch and delete
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-templates.c | 6 |
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))); } |