commit fafa39d35b8d83aed23371f0966a996e322f7c71
parent 4306b186250240e257ee60e4cded54e34f91be55
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Fri, 9 Dec 2016 21:15:01 +0100
Set /map/in handler to NULL upon callback invocation
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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);
}