aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-18 17:52:13 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-18 17:52:13 +0200
commit619c04ec68893ac285460ad3154a7c144c4f91e6 (patch)
tree5ba52e8030c0b5ef829cdaead3b512aeb0c36fd0
parent2fe7aad94305e29d2b6bd4d4870d315e348a5576 (diff)
-fix comparison, avoid NPE
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c2
1 files changed, 1 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 0e06f7fa..64dcce4c 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -610,7 +610,7 @@ patch_order (struct MHD_Connection *connection,
refdel_s = MHD_lookup_connection_value (connection,
MHD_GET_ARGUMENT_KIND,
"refund_delay");
- if (NULL == refdel_s)
+ if (NULL != refdel_s)
{
struct GNUNET_TIME_Relative r;