diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-15 00:49:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-15 00:49:26 +0000 |
commit | 1f09f4f7716db5939ec1c9a278b5661616dd72d6 (patch) | |
tree | ff52f060245b574aace08d5db5016c22b56a7876 /src/mesh/gnunet-service-mesh.c | |
parent | 720afac61536fbb212c0010f31764704c12aab0f (diff) | |
download | gnunet-1f09f4f7716db5939ec1c9a278b5661616dd72d6.tar.gz gnunet-1f09f4f7716db5939ec1c9a278b5661616dd72d6.zip |
-help seaspider some more
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 31e0dc901..aa9ae888c 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -623,7 +623,7 @@ announce_application (void *cls, const GNUNET_HashCode * key, void *value) | |||
623 | { | 623 | { |
624 | /* FIXME are hashes in multihash map equal on all aquitectures? */ | 624 | /* FIXME are hashes in multihash map equal on all aquitectures? */ |
625 | /* FIXME: keep return value of 'put' to possibly cancel!? */ | 625 | /* FIXME: keep return value of 'put' to possibly cancel!? */ |
626 | GNUNET_DHT_put (dht_handle, key, 10U, | 626 | GNUNET_DHT_put (dht_handle, key, 10, |
627 | GNUNET_DHT_RO_RECORD_ROUTE | | 627 | GNUNET_DHT_RO_RECORD_ROUTE | |
628 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, GNUNET_BLOCK_TYPE_TEST, | 628 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, GNUNET_BLOCK_TYPE_TEST, |
629 | sizeof (struct GNUNET_PeerIdentity), | 629 | sizeof (struct GNUNET_PeerIdentity), |
@@ -692,12 +692,8 @@ announce_id (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
692 | (char *) &my_full_id, /* Data itself */ | 692 | (char *) &my_full_id, /* Data itself */ |
693 | GNUNET_TIME_absolute_get_forever (), /* Data expiration */ | 693 | GNUNET_TIME_absolute_get_forever (), /* Data expiration */ |
694 | GNUNET_TIME_UNIT_FOREVER_REL, /* Retry time */ | 694 | GNUNET_TIME_UNIT_FOREVER_REL, /* Retry time */ |
695 | #if MESH_DEBUG_DHT | ||
696 | &mesh_debug, "DHT_put for id completed"); | ||
697 | #else | ||
698 | NULL, /* Continuation */ | 695 | NULL, /* Continuation */ |
699 | NULL); /* Continuation closure */ | 696 | NULL); /* Continuation closure */ |
700 | #endif | ||
701 | announce_id_task = | 697 | announce_id_task = |
702 | GNUNET_SCHEDULER_add_delayed (ID_ANNOUNCE_TIME, &announce_id, cls); | 698 | GNUNET_SCHEDULER_add_delayed (ID_ANNOUNCE_TIME, &announce_id, cls); |
703 | } | 699 | } |