modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies
This commit is contained in:
parent
d63cf1e40e
commit
532440acf8
@ -111,8 +111,7 @@ deposit_wtid_cb (void *cls,
|
||||
switch (hr->http_status)
|
||||
{
|
||||
case MHD_HTTP_OK:
|
||||
GNUNET_assert (NULL != dd->wtid);
|
||||
tts->wtid = *dd->wtid;
|
||||
tts->wtid = dd->wtid;
|
||||
if (NULL != tts->bank_transfer_reference)
|
||||
{
|
||||
const struct TALER_TESTING_Command *bank_transfer_cmd;
|
||||
@ -140,11 +139,7 @@ deposit_wtid_cb (void *cls,
|
||||
}
|
||||
|
||||
/* Compare that expected and gotten subjects match. */
|
||||
<<<<<<< HEAD
|
||||
if (0 != GNUNET_memcmp (&dd->wtid,
|
||||
=======
|
||||
if (0 != GNUNET_memcmp (dd->wtid,
|
||||
>>>>>>> modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later)
|
||||
wtid_want))
|
||||
{
|
||||
GNUNET_break (0);
|
||||
|
Loading…
Reference in New Issue
Block a user