- fix
[oweals/gnunet.git] / src / regex / regex_dht.c
index 15307d700fc08866b4a169922aea64240a102f4a..f9e25c274d72d6aef8a8700137db874f7bcf0adc 100644 (file)
@@ -454,7 +454,8 @@ dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp,
   memcpy (copy, data, size);
   GNUNET_break (
     GNUNET_OK ==
-    GNUNET_CONTAINER_multihashmap_put (info->dht_get_results, &copy->key, copy,
+    GNUNET_CONTAINER_multihashmap_put (info->dht_get_results,
+                                       &((struct RegexBlock *)copy)->key, copy,
                                        GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE)
                );
   len = ntohl (block->n_proof);