From: Christian Grothoff Date: Mon, 19 Sep 2011 10:39:05 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~17016 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d27ff0bb23ea1b4dcc8dad59c49d7e8540462626;p=oweals%2Fgnunet.git fix --- 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, /** Log routes that die due to high load! */ dhtlog_handle->insert_route (NULL, msg_ctx->unique_id, DHTLOG_ROUTE, msg_ctx->hop_count, GNUNET_SYSERR, - &my_identity, &msg_ctx->key, msg_ctx->peer, + &my_identity, &msg_ctx->key, &msg_ctx->peer, NULL); } #endif @@ -3595,7 +3595,7 @@ malicious_put_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) msg_ctx.replication = ntohl (DHT_DEFAULT_FIND_PEER_REPLICATION); msg_ctx.msg_options = ntohl (0); msg_ctx.network_size = log_of_network_size_estimate; - msg_ctx.peer = &my_identity; + msg_ctx.peer = my_identity; msg_ctx.importance = DHT_DEFAULT_P2P_IMPORTANCE; msg_ctx.timeout = DHT_DEFAULT_P2P_TIMEOUT; #if DEBUG_DHT_ROUTING @@ -3643,7 +3643,7 @@ malicious_get_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) msg_ctx.replication = ntohl (DHT_DEFAULT_FIND_PEER_REPLICATION); msg_ctx.msg_options = ntohl (0); msg_ctx.network_size = log_of_network_size_estimate; - msg_ctx.peer = &my_identity; + msg_ctx.peer = my_identity; msg_ctx.importance = DHT_DEFAULT_P2P_IMPORTANCE; msg_ctx.timeout = DHT_DEFAULT_P2P_TIMEOUT; #if DEBUG_DHT_ROUTING