diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-14 11:49:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-14 11:49:16 +0000 |
commit | 6b983f49f68eaa1865d25b1b75d134d7af7cd96f (patch) | |
tree | 84e4e8690ea6f2e751aec754d696f1c09b516884 /src/regex | |
parent | 0fc66b10df8428e8f9539479d08e8c69a891da56 (diff) | |
download | gnunet-6b983f49f68eaa1865d25b1b75d134d7af7cd96f.tar.gz gnunet-6b983f49f68eaa1865d25b1b75d134d7af7cd96f.zip |
-fix'
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/regex_dht.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regex/regex_dht.c b/src/regex/regex_dht.c index 27fa82a7c..b5c369d07 100644 --- a/src/regex/regex_dht.c +++ b/src/regex/regex_dht.c | |||
@@ -454,7 +454,7 @@ 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, ©->key, copy, |
458 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE) | 458 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_MULTIPLE) |
459 | ); | 459 | ); |
460 | len = ntohl (block->n_proof); | 460 | len = ntohl (block->n_proof); |
@@ -693,7 +693,7 @@ GNUNET_REGEX_search (struct GNUNET_DHT_Handle *dht, | |||
693 | h->callback = callback; | 693 | h->callback = callback; |
694 | h->callback_cls = callback_cls; | 694 | h->callback_cls = callback_cls; |
695 | h->stats = stats; | 695 | h->stats = stats; |
696 | h->dht_get_handles = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_YES); | 696 | h->dht_get_handles = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_NO); |
697 | h->dht_get_results = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_YES); | 697 | h->dht_get_results = GNUNET_CONTAINER_multihashmap_create (32, GNUNET_YES); |
698 | 698 | ||
699 | /* Initialize context */ | 699 | /* Initialize context */ |
@@ -808,4 +808,4 @@ GNUNET_REGEX_search_cancel (struct GNUNET_REGEX_search_handle *h) | |||
808 | 808 | ||
809 | 809 | ||
810 | 810 | ||
811 | /* end of regex_dht.c */ \ No newline at end of file | 811 | /* end of regex_dht.c */ |