diff options
-rw-r--r-- | src/regex/regex_dht.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regex/regex_dht.c b/src/regex/regex_dht.c index 15307d700..f9e25c274 100644 --- a/src/regex/regex_dht.c +++ b/src/regex/regex_dht.c | |||
@@ -454,7 +454,8 @@ dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
454 | memcpy (copy, data, size); | 454 | memcpy (copy, data, size); |
455 | GNUNET_break ( | 455 | GNUNET_break ( |
456 | GNUNET_OK == | 456 | GNUNET_OK == |
457 | GNUNET_CONTAINER_multihashmap_put (info->dht_get_results, ©->key, copy, | 457 | GNUNET_CONTAINER_multihashmap_put (info->dht_get_results, |
458 | &((struct RegexBlock *)copy)->key, copy, | ||
458 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE) | 459 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE) |
459 | ); | 460 | ); |
460 | len = ntohl (block->n_proof); | 461 | len = ntohl (block->n_proof); |