fix regression causing NPE

This commit is contained in:
Christian Grothoff 2017-03-19 11:16:53 +01:00
parent 51647e6259
commit 135172bae4
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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;