summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-templates.c
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2023-01-30 09:54:45 -0500
committerpriscilla <priscilla.huang@efrei.net>2023-01-30 09:54:45 -0500
commit05f43c2ad20c30c8091318ec0c8587515c4971bc (patch)
treedea832d79c9f7cfcb68cfe982ffc081eac63b4b0 /src/backend/taler-merchant-httpd_private-post-templates.c
parent60e77f622c825b81e663f4b97af2a8f98ef995bb (diff)
downloadmerchant-05f43c2ad20c30c8091318ec0c8587515c4971bc.tar.gz
merchant-05f43c2ad20c30c8091318ec0c8587515c4971bc.tar.bz2
merchant-05f43c2ad20c30c8091318ec0c8587515c4971bc.zip
update
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-templates.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-templates.c b/src/backend/taler-merchant-httpd_private-post-templates.c
index 770f8730..9cc33eaa 100644
--- a/src/backend/taler-merchant-httpd_private-post-templates.c
+++ b/src/backend/taler-merchant-httpd_private-post-templates.c
@@ -48,9 +48,9 @@ templates_equal (const struct TALER_MERCHANTDB_TemplateDetails *t1,
return ( (0 == strcmp (t1->template_description,
t2->template_description)) &&
( ( (NULL == t1->image) && (NULL == t2->image) ) ||
- ( (NULL != t1->image) && (NULL != t2->image) ) &&
+ ( (NULL != t1->image) && (NULL != t2->image) &&
(0 == strcmp (t1->image,
- t2->image)) ) &&
+ t2->image)) ) ) &&
(1 == json_equal (t1->template_contract,
t2->template_contract)) );
}