diff options
Diffstat (limited to 'src/testing/testing_api_cmd_exec_transfer.c')
-rw-r--r-- | src/testing/testing_api_cmd_exec_transfer.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/testing/testing_api_cmd_exec_transfer.c b/src/testing/testing_api_cmd_exec_transfer.c index 796f32d07..300413b4b 100644 --- a/src/testing/testing_api_cmd_exec_transfer.c +++ b/src/testing/testing_api_cmd_exec_transfer.c @@ -60,13 +60,13 @@ transfer_run (void *cls, { struct TransferState *as = cls; + (void) cmd; as->transfer_proc = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ALL, NULL, NULL, NULL, "taler-exchange-transfer", "taler-exchange-transfer", "-c", as->config_filename, - "-L", "INFO", "-S", "1", "-w", "0", "-t", /* exit when done */ @@ -94,6 +94,7 @@ transfer_cleanup (void *cls, { struct TransferState *as = cls; + (void) cmd; if (NULL != as->transfer_proc) { GNUNET_break (0 == @@ -116,7 +117,7 @@ transfer_cleanup (void *cls, * @param index index number of the object to offer. * @return #GNUNET_OK on success */ -static int +static enum GNUNET_GenericReturnValue transfer_traits (void *cls, const void **ret, const char *trait, @@ -124,7 +125,7 @@ transfer_traits (void *cls, { struct TransferState *as = cls; struct TALER_TESTING_Trait traits[] = { - TALER_TESTING_make_trait_process (0, &as->transfer_proc), + TALER_TESTING_make_trait_process (&as->transfer_proc), TALER_TESTING_trait_end () }; @@ -135,14 +136,6 @@ transfer_traits (void *cls, } -/** - * Make a "transfer" CMD. - * - * @param label command label. - * @param config_filename configuration file for the - * transfer to use. - * @return the command. - */ struct TALER_TESTING_Command TALER_TESTING_cmd_exec_transfer (const char *label, const char *config_filename) |