From: Julius Bünger Date: Thu, 5 Jul 2018 20:06:54 +0000 (+0200) Subject: rps service: additional logging of unexpected channel establishing X-Git-Tag: v0.11.0~322^2~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d2bd1dd06bc416277f623d2c9d84cf0da5624fe;p=oweals%2Fgnunet.git rps service: additional logging of unexpected channel establishing --- diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index db09c68d2..aef6a72de 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -1534,6 +1534,9 @@ Peers_handle_inbound_channel (void *cls, /* We only accept one incoming channel per peer */ if (GNUNET_YES == Peers_check_peer_send_intention (initiator)) { + LOG (GNUNET_ERROR_TYPE_WARNING, + "Already got one receive channel. Destroying old one.\n"); + GNUNET_break_op (0); set_channel_flag (peer_ctx->recv_channel_flags, Peers_CHANNEL_ESTABLISHED_TWICE); //GNUNET_CADET_channel_destroy (channel);