diff options
Diffstat (limited to 'src/testing/testing_api_cmd_deposits_get.c')
-rw-r--r-- | src/testing/testing_api_cmd_deposits_get.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_deposits_get.c b/src/testing/testing_api_cmd_deposits_get.c index 6f0140116..33987e161 100644 --- a/src/testing/testing_api_cmd_deposits_get.c +++ b/src/testing/testing_api_cmd_deposits_get.c | |||
@@ -111,8 +111,7 @@ deposit_wtid_cb (void *cls, | |||
111 | switch (hr->http_status) | 111 | switch (hr->http_status) |
112 | { | 112 | { |
113 | case MHD_HTTP_OK: | 113 | case MHD_HTTP_OK: |
114 | GNUNET_assert (NULL != dd->wtid); | 114 | tts->wtid = dd->wtid; |
115 | tts->wtid = *dd->wtid; | ||
116 | if (NULL != tts->bank_transfer_reference) | 115 | if (NULL != tts->bank_transfer_reference) |
117 | { | 116 | { |
118 | const struct TALER_TESTING_Command *bank_transfer_cmd; | 117 | const struct TALER_TESTING_Command *bank_transfer_cmd; |
@@ -140,7 +139,7 @@ deposit_wtid_cb (void *cls, | |||
140 | } | 139 | } |
141 | 140 | ||
142 | /* Compare that expected and gotten subjects match. */ | 141 | /* Compare that expected and gotten subjects match. */ |
143 | if (0 != GNUNET_memcmp (dd->wtid, | 142 | if (0 != GNUNET_memcmp (&dd->wtid, |
144 | wtid_want)) | 143 | wtid_want)) |
145 | { | 144 | { |
146 | GNUNET_break (0); | 145 | GNUNET_break (0); |