From fafa39d35b8d83aed23371f0966a996e322f7c71 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 9 Dec 2016 21:15:01 +0100 Subject: Set /map/in handler to NULL upon callback invocation --- src/lib/test_merchant_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index d1c92c01..e509f350 100644 --- a/src/lib/test_merchant_api.c +++ b/src/lib/test_merchant_api.c @@ -1312,7 +1312,8 @@ map_in_cb (void *cls, "Cb for /map/in\n"); struct InterpreterState *is = cls; struct Command *cmd = &is->commands[is->ip]; - + + cmd->details.map_in.mio = NULL; GNUNET_assert (cmd->expected_response_code == http_status); next_command (is); } -- cgit v1.2.3