diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
commit | e42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch) | |
tree | d4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_cmd_track.c | |
parent | cf1ce4786356cba7d3f84a74fab282650f612db9 (diff) | |
download | exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.gz exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.bz2 exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.zip |
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_track.c')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_track.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_cmd_track.c b/src/exchange-lib/testing_api_cmd_track.c index 201ac3f98..6c9d9fd55 100644 --- a/src/exchange-lib/testing_api_cmd_track.c +++ b/src/exchange-lib/testing_api_cmd_track.c @@ -219,7 +219,8 @@ deposit_wtid_cb /* expected wire transfer subject line. */ const char *transfer_subject; - if (GNUNET_OK != TALER_TESTING_get_trait_transfer_subject + if (GNUNET_OK != + TALER_TESTING_get_trait_transfer_subject (bank_transfer_cmd, 0, &transfer_subject)) { GNUNET_break (0); @@ -393,12 +394,11 @@ track_transaction_cleanup */ static int track_transaction_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { struct TrackTransactionState *tts = cls; - struct TALER_TESTING_Trait traits[] = { TALER_TESTING_make_trait_wtid (0, &tts->wtid), TALER_TESTING_trait_end () @@ -410,6 +410,7 @@ track_transaction_traits (void *cls, index); } + /** * Create a "track transaction" command. * @@ -698,7 +699,7 @@ track_transfer_run (void *cls, /* looking for a wtid to track .. */ struct TrackTransferState *tts = cls; struct TALER_WireTransferIdentifierRawP wtid; - struct TALER_WireTransferIdentifierRawP *wtid_ptr; + const struct TALER_WireTransferIdentifierRawP *wtid_ptr; /* If no reference is given, we'll use a all-zeros * WTID */ |