summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-17 16:58:00 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-17 16:58:00 +0100
commit78bfa7d077482d7008fac3d7406a08021cc195ad (patch)
tree076be8c45c42ede5c4085866e293418c70172399 /src
parenteee0674c86f06466383ce8f9f852f77623d3af2a (diff)
downloadexchange-78bfa7d077482d7008fac3d7406a08021cc195ad.tar.gz
exchange-78bfa7d077482d7008fac3d7406a08021cc195ad.tar.bz2
exchange-78bfa7d077482d7008fac3d7406a08021cc195ad.zip
fix typos
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_db.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c
index a5b8e736..cf142e0e 100644
--- a/src/exchange/taler-exchange-httpd_db.c
+++ b/src/exchange/taler-exchange-httpd_db.c
@@ -375,10 +375,10 @@ TEH_DB_execute_refund (struct MHD_Connection *connection,
case TALER_EXCHANGEDB_TT_DEPOSIT:
if (GNUNET_NO == deposit_found)
{
- if ( (0 == memcmp (&tlp->details.deposit.merchant_pub,
+ if ( (0 == memcmp (&tlp->details.deposit->merchant_pub,
&refund->merchant_pub,
sizeof (struct TALER_MerchantPublicKeyP))) &&
- (0 == memcmp (&tlp->details.deposit.h_proposal_data,
+ (0 == memcmp (&tlp->details.deposit->h_proposal_data,
&refund->h_proposal_data,
sizeof (struct GNUNET_HashCode))) )
{
@@ -408,13 +408,13 @@ TEH_DB_execute_refund (struct MHD_Connection *connection,
break;
}
/* Second, check if existing refund request conflicts */
- if ( (0 == memcmp (&tlp->details.merchant_pub,
+ if ( (0 == memcmp (&tlp->details.refund->merchant_pub,
&refund->merchant_pub,
sizeof (struct TALER_MerchantPublicKeyP))) &&
- (0 == memcmp (&tlp->details.h_proposal_data,
+ (0 == memcmp (&tlp->details.refund->h_proposal_data,
&refund->h_proposal_data,
sizeof (struct GNUNET_HashCode))) &&
- (tlp->details.rtransaction_id != refund->rtransaction_id) )
+ (tlp->details.refund->rtransaction_id != refund->rtransaction_id) )
{
GNUNET_break_op (0); /* conflicting refund found */
refund_found = GNUNET_SYSERR;