diff options
author | Julius Bünger <buenger@mytum.de> | 2017-03-12 21:59:58 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2017-03-12 21:59:58 +0100 |
commit | 0fca1bd10380e74a2f427490c98027e6a251e9ff (patch) | |
tree | a7c8f20be26ee92bf69380c16126e860058e737b /src/rps | |
parent | de84eb1d459852cb6973b216559e8ea27b334a98 (diff) | |
download | gnunet-0fca1bd10380e74a2f427490c98027e6a251e9ff.tar.gz gnunet-0fca1bd10380e74a2f427490c98027e6a251e9ff.zip |
removed unneeded function call
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, |