projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WiP
[oweals/gnunet.git]
/
src
/
dht
/
gnunet-dht-put.c
diff --git
a/src/dht/gnunet-dht-put.c
b/src/dht/gnunet-dht-put.c
index 54c915c15a7290a831f19ac0f5c451400217845d..6bd9f90452553e76aeb5cfd7323615f1ea6a857b 100644
(file)
--- a/
src/dht/gnunet-dht-put.c
+++ b/
src/dht/gnunet-dht-put.c
@@
-136,6
+136,9
@@
run (void *cls,
fprintf (stderr,
_("Connected to %s service!\n"), "DHT");
+ if (query_type == GNUNET_BLOCK_TYPE_ANY) /* Type of data not set */
+ query_type = GNUNET_BLOCK_TYPE_TEST;
+
GNUNET_CRYPTO_hash (query_key, strlen (query_key), &key);
timeout =