summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_tip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/testing_api_cmd_tip.c')
-rw-r--r--src/lib/testing_api_cmd_tip.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/lib/testing_api_cmd_tip.c b/src/lib/testing_api_cmd_tip.c
index 77ab919e..41757b6f 100644
--- a/src/lib/testing_api_cmd_tip.c
+++ b/src/lib/testing_api_cmd_tip.c
@@ -280,6 +280,7 @@ tip_authorize_cb (void *cls,
TALER_TESTING_interpreter_next (tas->is);
}
+
/**
* Offers information from the /tip-authorize CMD state to other
* commands.
@@ -436,7 +437,6 @@ TALER_TESTING_cmd_tip_authorize_with_ec
}
-
/**
* Create a /tip-authorize CMD.
*
@@ -478,6 +478,7 @@ TALER_TESTING_cmd_tip_authorize (const char *label,
return cmd;
}
+
/**
* Callback to process a GET /tip-query request, it mainly
* checks that what the backend returned matches the command's
@@ -575,6 +576,7 @@ tip_query_cb (void *cls,
TALER_TESTING_interpreter_next (tqs->is);
}
+
/**
* Free the state from a /tip-query CMD, and possibly cancel
* a pending /tip-query request.
@@ -597,6 +599,7 @@ tip_query_cleanup (void *cls,
GNUNET_free (tqs);
}
+
/**
* Run a /tip-query CMD.
*
@@ -695,6 +698,7 @@ TALER_TESTING_cmd_tip_query (const char *label,
return cmd;
}
+
/**
* Internal withdraw handle used when withdrawing tips.
*/
@@ -903,14 +907,15 @@ tip_pickup_run (void *cls,
/* Count planchets. */
for (num_planchets = 0;
NULL != tps->amounts[num_planchets];
- num_planchets++);
+ num_planchets++)
+ ;
}
else
{
const unsigned int *np;
- if ( NULL == /* looking for "parent" tip-pickup command */
- (replay_cmd = TALER_TESTING_interpreter_lookup_command
- (is, tps->replay_reference)) )
+ if (NULL == /* looking for "parent" tip-pickup command */
+ (replay_cmd = TALER_TESTING_interpreter_lookup_command
+ (is, tps->replay_reference)) )
TALER_TESTING_FAIL (is);
if (GNUNET_OK != TALER_TESTING_get_trait_uint
@@ -994,6 +999,7 @@ tip_pickup_run (void *cls,
}
}
+
/**
* Free a /tip-pickup CMD state, and possibly cancel a
* pending /tip-pickup request.
@@ -1126,6 +1132,7 @@ TALER_TESTING_cmd_tip_pickup_with_ec
return cmd;
}
+
/**
* Define a /tip-pickup CMD.
*
@@ -1165,6 +1172,7 @@ TALER_TESTING_cmd_tip_pickup
return cmd;
}
+
/**
* This commands does not query the backend at all,
* but just makes up a fake authorization id that will
@@ -1193,4 +1201,5 @@ TALER_TESTING_cmd_tip_authorize_fake (const char *label)
return cmd;
}
+
/* end of testing_api_cmd_tip.c */