summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_exec_keyup.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 13:57:47 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 13:58:42 +0100
commit0b4008bd84f9812eac943e616a4584a0f9b23ae1 (patch)
tree4af665fff668f78091e21a9cd89a1454a562018e /src/lib/testing_api_cmd_exec_keyup.c
parent4993863c4cc7e7758f8532ea90253cc60c3358fa (diff)
downloadexchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.tar.gz
exchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.tar.bz2
exchange-0b4008bd84f9812eac943e616a4584a0f9b23ae1.zip
doxygen
Diffstat (limited to 'src/lib/testing_api_cmd_exec_keyup.c')
-rw-r--r--src/lib/testing_api_cmd_exec_keyup.c44
1 files changed, 23 insertions, 21 deletions
diff --git a/src/lib/testing_api_cmd_exec_keyup.c b/src/lib/testing_api_cmd_exec_keyup.c
index 3ce746527..3947ad26e 100644
--- a/src/lib/testing_api_cmd_exec_keyup.c
+++ b/src/lib/testing_api_cmd_exec_keyup.c
@@ -143,7 +143,7 @@ keyup_cleanup (void *cls,
* Offer "keyup" CMD internal data to other commands.
*
* @param cls closure.
- * @param ret[out] result
+ * @param[out] ret result
* @param trait name of the trait.
* @param index index number of the object to offer.
*
@@ -189,16 +189,17 @@ TALER_TESTING_cmd_exec_keyup_with_now
ks->config_filename = config_filename;
ks->now = now;
ks->with_now = GNUNET_YES;
-
- struct TALER_TESTING_Command cmd = {
- .cls = ks,
- .label = label,
- .run = &keyup_run,
- .cleanup = &keyup_cleanup,
- .traits = &keyup_traits
- };
-
- return cmd;
+ {
+ struct TALER_TESTING_Command cmd = {
+ .cls = ks,
+ .label = label,
+ .run = &keyup_run,
+ .cleanup = &keyup_cleanup,
+ .traits = &keyup_traits
+ };
+
+ return cmd;
+ }
}
@@ -218,16 +219,17 @@ TALER_TESTING_cmd_exec_keyup (const char *label,
ks = GNUNET_new (struct KeyupState);
ks->config_filename = config_filename;
-
- struct TALER_TESTING_Command cmd = {
- .cls = ks,
- .label = label,
- .run = &keyup_run,
- .cleanup = &keyup_cleanup,
- .traits = &keyup_traits
- };
-
- return cmd;
+ {
+ struct TALER_TESTING_Command cmd = {
+ .cls = ks,
+ .label = label,
+ .run = &keyup_run,
+ .cleanup = &keyup_cleanup,
+ .traits = &keyup_traits
+ };
+
+ return cmd;
+ }
}