diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-19 10:39:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-19 10:39:05 +0000 |
commit | d27ff0bb23ea1b4dcc8dad59c49d7e8540462626 (patch) | |
tree | cb6e275ee261e9a24da9c5a719030a9bb41deb3f /src/dht/gnunet-service-dht.c | |
parent | 11cb65ef626b6b7c8ebf9e0bff5ecd9b4d7bd96e (diff) | |
download | gnunet-d27ff0bb23ea1b4dcc8dad59c49d7e8540462626.tar.gz gnunet-d27ff0bb23ea1b4dcc8dad59c49d7e8540462626.zip |
fix
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 14aabd79d..c4eec97ec 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -2567,7 +2567,7 @@ handle_dht_put (const struct GNUNET_MessageHeader *msg, | |||
2567 | /** Log routes that die due to high load! */ | 2567 | /** Log routes that die due to high load! */ |
2568 | dhtlog_handle->insert_route (NULL, msg_ctx->unique_id, DHTLOG_ROUTE, | 2568 | dhtlog_handle->insert_route (NULL, msg_ctx->unique_id, DHTLOG_ROUTE, |
2569 | msg_ctx->hop_count, GNUNET_SYSERR, | 2569 | msg_ctx->hop_count, GNUNET_SYSERR, |
2570 | &my_identity, &msg_ctx->key, msg_ctx->peer, | 2570 | &my_identity, &msg_ctx->key, &msg_ctx->peer, |
2571 | NULL); | 2571 | NULL); |
2572 | } | 2572 | } |
2573 | #endif | 2573 | #endif |
@@ -3595,7 +3595,7 @@ malicious_put_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
3595 | msg_ctx.replication = ntohl (DHT_DEFAULT_FIND_PEER_REPLICATION); | 3595 | msg_ctx.replication = ntohl (DHT_DEFAULT_FIND_PEER_REPLICATION); |
3596 | msg_ctx.msg_options = ntohl (0); | 3596 | msg_ctx.msg_options = ntohl (0); |
3597 | msg_ctx.network_size = log_of_network_size_estimate; | 3597 | msg_ctx.network_size = log_of_network_size_estimate; |
3598 | msg_ctx.peer = &my_identity; | 3598 | msg_ctx.peer = my_identity; |
3599 | msg_ctx.importance = DHT_DEFAULT_P2P_IMPORTANCE; | 3599 | msg_ctx.importance = DHT_DEFAULT_P2P_IMPORTANCE; |
3600 | msg_ctx.timeout = DHT_DEFAULT_P2P_TIMEOUT; | 3600 | msg_ctx.timeout = DHT_DEFAULT_P2P_TIMEOUT; |
3601 | #if DEBUG_DHT_ROUTING | 3601 | #if DEBUG_DHT_ROUTING |
@@ -3643,7 +3643,7 @@ malicious_get_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
3643 | msg_ctx.replication = ntohl (DHT_DEFAULT_FIND_PEER_REPLICATION); | 3643 | msg_ctx.replication = ntohl (DHT_DEFAULT_FIND_PEER_REPLICATION); |
3644 | msg_ctx.msg_options = ntohl (0); | 3644 | msg_ctx.msg_options = ntohl (0); |
3645 | msg_ctx.network_size = log_of_network_size_estimate; | 3645 | msg_ctx.network_size = log_of_network_size_estimate; |
3646 | msg_ctx.peer = &my_identity; | 3646 | msg_ctx.peer = my_identity; |
3647 | msg_ctx.importance = DHT_DEFAULT_P2P_IMPORTANCE; | 3647 | msg_ctx.importance = DHT_DEFAULT_P2P_IMPORTANCE; |
3648 | msg_ctx.timeout = DHT_DEFAULT_P2P_TIMEOUT; | 3648 | msg_ctx.timeout = DHT_DEFAULT_P2P_TIMEOUT; |
3649 | #if DEBUG_DHT_ROUTING | 3649 | #if DEBUG_DHT_ROUTING |