summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-09 21:15:01 +0100
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-12-09 21:15:01 +0100
commitfafa39d35b8d83aed23371f0966a996e322f7c71 (patch)
treeae5b6bf3a218f4902f1d569aebcd17637474fc0d
parent4306b186250240e257ee60e4cded54e34f91be55 (diff)
downloadmerchant-fafa39d35b8d83aed23371f0966a996e322f7c71.tar.gz
merchant-fafa39d35b8d83aed23371f0966a996e322f7c71.tar.bz2
merchant-fafa39d35b8d83aed23371f0966a996e322f7c71.zip
Set /map/in handler to NULL upon callback invocation
-rw-r--r--src/lib/test_merchant_api.c3
1 files changed, 2 insertions, 1 deletions
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);
}