diff options
Diffstat (limited to 'src/rps')
-rw-r--r-- | src/rps/gnunet-service-rps_peers.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rps/gnunet-service-rps_peers.c b/src/rps/gnunet-service-rps_peers.c index db540fa3d..cbe3aefa3 100644 --- a/src/rps/gnunet-service-rps_peers.c +++ b/src/rps/gnunet-service-rps_peers.c | |||
@@ -1546,13 +1546,9 @@ void | |||
1546 | Peers_cleanup_destroyed_channel (void *cls, | 1546 | Peers_cleanup_destroyed_channel (void *cls, |
1547 | const struct GNUNET_CADET_Channel *channel) | 1547 | const struct GNUNET_CADET_Channel *channel) |
1548 | { | 1548 | { |
1549 | struct GNUNET_PeerIdentity *peer; | 1549 | struct GNUNET_PeerIdentity *peer = cls; |
1550 | struct PeerContext *peer_ctx; | 1550 | struct PeerContext *peer_ctx; |
1551 | 1551 | ||
1552 | peer = (struct GNUNET_PeerIdentity *) GNUNET_CADET_channel_get_info ( | ||
1553 | (struct GNUNET_CADET_Channel *) channel, GNUNET_CADET_OPTION_PEER); | ||
1554 | // FIXME wait for cadet to change this function | ||
1555 | |||
1556 | if (GNUNET_NO == Peers_check_peer_known (peer)) | 1552 | if (GNUNET_NO == Peers_check_peer_known (peer)) |
1557 | {/* We don't want to implicitly create a context that we're about to kill */ | 1553 | {/* We don't want to implicitly create a context that we're about to kill */ |
1558 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1554 | LOG (GNUNET_ERROR_TYPE_DEBUG, |