diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-orders.c | 4 |
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) { |