aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-19 11:16:53 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-19 11:16:53 +0100
commit135172bae4ef2d587efce112fd350b52e5a2d7a4 (patch)
treea748df6f7f8788ed69039582fde6326376557b27
parent51647e6259e0492235720485a1f64ccef260b826 (diff)
fix regression causing NPE
-rw-r--r--src/exchange/taler-exchange-httpd_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c
index 78893d426..c3bc8ae48 100644
--- a/src/exchange/taler-exchange-httpd_db.c
+++ b/src/exchange/taler-exchange-httpd_db.c
@@ -401,7 +401,7 @@ TEH_DB_execute_refund (struct MHD_Connection *connection,
(0 == memcmp (&tlp->details.refund->h_proposal_data,
&refund->h_proposal_data,
sizeof (struct GNUNET_HashCode))) &&
- (ref->rtransaction_id == refund->rtransaction_id) )
+ (tlp->details.refund->rtransaction_id == refund->rtransaction_id) )
{
ref = tlp->details.refund;
refund_found = GNUNET_YES;