summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-orders.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-08 16:38:55 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-07-08 16:38:55 -0400
commit071554a7ac031cc859355b5ee353a708c0c5cea5 (patch)
tree1a1474f59e0645669f56018abb9f3f487230247f /src/backend/taler-merchant-httpd_private-post-orders.c
parenta5e33f1a6d3f865a7c169783c63007cfdd3c30eb (diff)
downloadmerchant-071554a7ac031cc859355b5ee353a708c0c5cea5.tar.gz
merchant-071554a7ac031cc859355b5ee353a708c0c5cea5.tar.bz2
merchant-071554a7ac031cc859355b5ee353a708c0c5cea5.zip
removed more old code, more tests for post order, some twister tests for merchant-exchange requests
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
index 5ccad64d..7fff7226 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -815,7 +815,9 @@ add_payment_details (struct MHD_Connection *connection,
wm->wire_method) ) )
wm = wm->next;
}
- if (GNUNET_YES != wm->active)
+
+ if ((NULL != wm) &&
+ (GNUNET_YES != wm->active))
wm = NULL;
if (NULL == wm)
{