diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 16:41:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 16:41:24 +0100 |
commit | 644049274c36733b14832b07ed3517da01865183 (patch) | |
tree | 3f023662ac32be7afe99a6ed91b3041aea02e2a3 /src/lib/testing_api_cmd_wire.c | |
parent | 204b545db1eca882adb2b1a3dea5c6c860f91def (diff) |
doxygen
Diffstat (limited to 'src/lib/testing_api_cmd_wire.c')
-rw-r--r-- | src/lib/testing_api_cmd_wire.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/testing_api_cmd_wire.c b/src/lib/testing_api_cmd_wire.c index 991a6ceb8..e8bf176a6 100644 --- a/src/lib/testing_api_cmd_wire.c +++ b/src/lib/testing_api_cmd_wire.c @@ -203,13 +203,11 @@ wire_cleanup (void *cls, * Create a "wire" command. * * @param label the command label. - * @param exchange the exchange to connect to. * @param expected_method which wire-transfer method is expected * to be offered by the exchange. * @param expected_fee the fee the exchange should charge. * @param expected_response_code the HTTP response the exchange * should return. - * * @return the command. */ struct TALER_TESTING_Command @@ -224,13 +222,14 @@ TALER_TESTING_cmd_wire (const char *label, ws->expected_method = expected_method; ws->expected_fee = expected_fee; ws->expected_response_code = expected_response_code; - - struct TALER_TESTING_Command cmd = { - .cls = ws, - .label = label, - .run = &wire_run, - .cleanup = &wire_cleanup - }; - - return cmd; + { + struct TALER_TESTING_Command cmd = { + .cls = ws, + .label = label, + .run = &wire_run, + .cleanup = &wire_cleanup + }; + + return cmd; + } } |