aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-03-28 16:09:34 +0000
committerJulius Bünger <buenger@mytum.de>2015-03-28 16:09:34 +0000
commit80f14f5efbae8a0255db990f88ab815068ee7978 (patch)
tree4c8d942ee6f571f61114c9a893967c0a449adc57 /src
parent4ebb81f479aaa9435e6c8927130c0617901b0cf5 (diff)
downloadgnunet-80f14f5efbae8a0255db990f88ab815068ee7978.tar.gz
gnunet-80f14f5efbae8a0255db990f88ab815068ee7978.zip
-fixes
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 1b09c70e2..fb2f68dd1 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -769,8 +769,6 @@ get_channel (struct GNUNET_CONTAINER_MultiPeerMap *peer_map,
769 769
770 peer_ctx = get_peer_ctx (peer_map, peer); 770 peer_ctx = get_peer_ctx (peer_map, peer);
771 771
772 GNUNET_assert (NULL == peer_ctx->is_live_task);
773
774 if (NULL == peer_ctx->send_channel) 772 if (NULL == peer_ctx->send_channel)
775 { 773 {
776 LOG (GNUNET_ERROR_TYPE_DEBUG, 774 LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -2110,7 +2108,13 @@ init_peer_cb (void *cls,
2110 unsigned int best_path) // "How long is the best path? 2108 unsigned int best_path) // "How long is the best path?
2111 // (0 = unknown, 1 = ourselves, 2 = neighbor)" 2109 // (0 = unknown, 1 = ourselves, 2 = neighbor)"
2112{ 2110{
2113 new_peer_id (peer); 2111 if (NULL != peer)
2112 {
2113 LOG (GNUNET_ERROR_TYPE_DEBUG,
2114 "Got peer_id %s from cadet\n",
2115 GNUNET_i2s (peer));
2116 new_peer_id (peer);
2117 }
2114} 2118}
2115 2119
2116 2120