summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_get_webhook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_get_webhook.c')
-rw-r--r--src/testing/testing_api_cmd_get_webhook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_get_webhook.c b/src/testing/testing_api_cmd_get_webhook.c
index 44553caa..9a5648db 100644
--- a/src/testing/testing_api_cmd_get_webhook.c
+++ b/src/testing/testing_api_cmd_get_webhook.c
@@ -79,7 +79,7 @@ struct GetWebhookState
* @param body_template of the webhook
*/
static void
-get_template_cb (void *cls,
+get_webhook_cb (void *cls,
const struct TALER_MERCHANT_HttpResponse *hr,
const char *event_type,
const char *url,
@@ -107,14 +107,14 @@ get_template_cb (void *cls,
{
const char **expected_event_type;
- template_cmd = TALER_TESTING_interpreter_lookup_command (
+ webhook_cmd = TALER_TESTING_interpreter_lookup_command (
gis->is,
gis->webhook_reference);
if (GNUNET_OK !=
TALER_TESTING_get_trait_event_type (webhook_cmd,
&expected_event_type))
TALER_TESTING_interpreter_fail (gis->is);
- if (0 != strcmp (event_type, ,
+ if (0 != strcmp (event_type,
*expected_event_type))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,