/** 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
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
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