diff options
Diffstat (limited to 'src/testbed/testbed_api.c')
-rw-r--r-- | src/testbed/testbed_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index c691826f9..e9a70abb3 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c | |||
@@ -329,10 +329,10 @@ GNUNET_TESTBED_insert_opc_ (struct GNUNET_TESTBED_Controller *c, | |||
329 | { | 329 | { |
330 | if (NULL == c->opc_map) | 330 | if (NULL == c->opc_map) |
331 | c->opc_map = GNUNET_CONTAINER_multihashmap32_create (256); | 331 | c->opc_map = GNUNET_CONTAINER_multihashmap32_create (256); |
332 | GNUNET_assert (GNUNET_NO == GNUNET_CONTAINER_multihashmap32_contains_value | 332 | GNUNET_assert (GNUNET_OK == |
333 | (c->opc_map, (uint32_t) opc->id, opc)); | 333 | GNUNET_CONTAINER_multihashmap32_put (c->opc_map, |
334 | GNUNET_CONTAINER_multihashmap32_put (c->opc_map, (uint32_t) opc->id, opc, | 334 | (uint32_t) opc->id, opc, |
335 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE); | 335 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE)); |
336 | } | 336 | } |
337 | 337 | ||
338 | 338 | ||