[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch master updated: assert non-NULL
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch master updated: assert non-NULL |
Date: |
Mon, 05 Jun 2017 18:05:03 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 850d84a assert non-NULL
850d84a is described below
commit 850d84a1b6513ddef814c4ebd9f3fad2755e4771
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jun 5 18:05:01 2017 +0200
assert non-NULL
---
src/exchange-lib/test_exchange_api.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/exchange-lib/test_exchange_api.c
b/src/exchange-lib/test_exchange_api.c
index c6cecc5..53bfbd1 100644
--- a/src/exchange-lib/test_exchange_api.c
+++ b/src/exchange-lib/test_exchange_api.c
@@ -1043,6 +1043,7 @@ reserve_status_cb (void *cls,
case OC_PAYBACK:
xrel = find_command (is,
rel->details.payback.ref);
+ GNUNET_assert (NULL != xrel);
if (0 == strcmp (cmd->details.reserve_status.reserve_reference,
xrel->details.reserve_withdraw.reserve_reference))
{
@@ -1917,8 +1918,10 @@ payback_cb (void *cls,
}
withdraw = find_command (is,
cmd->details.payback.ref);
+ GNUNET_assert (NULL != withdraw);
reserve = find_command (is,
withdraw->details.reserve_withdraw.reserve_reference);
+ GNUNET_assert (NULL != reserve);
GNUNET_CRYPTO_eddsa_key_get_public
(&reserve->details.admin_add_incoming.reserve_priv.eddsa_priv,
&rp.eddsa_pub);
switch (http_status)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch master updated: assert non-NULL,
gnunet <=