From d974bae720beaea9223a8729f4e6c88c326c522b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 9 Feb 2019 23:29:47 +0100 Subject: untested fix for #5511 --- src/cadet/gnunet-service-cadet.c | 8 ++++---- src/cadet/gnunet-service-cadet_channel.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/cadet') diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c index 97950a18a..d64242943 100644 --- a/src/cadet/gnunet-service-cadet.c +++ b/src/cadet/gnunet-service-cadet.c @@ -11,7 +11,7 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -824,7 +824,7 @@ get_all_peers_iterator (void *cls, struct GNUNET_CADET_LocalInfoPeers *msg; env = GNUNET_MQ_msg (msg, - GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PEERS); + GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PEERS); msg->destination = *peer; msg->paths = htons (GCP_count_paths (p)); msg->tunnel = htons (NULL != GCP_get_tunnel (p, @@ -893,7 +893,7 @@ path_info_iterator (void *cls, } env = GNUNET_MQ_msg_extra (resp, path_size, - GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PATH); + GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PATH); id = (struct GNUNET_PeerIdentity *) &resp[1]; /* Don't copy first peer. First peer is always the local one. Last @@ -928,7 +928,7 @@ handle_show_path (void *cls, if (NULL != p) GCP_iterate_indirect_paths (p, &path_info_iterator, - c->mq); + c->mq); env = GNUNET_MQ_msg (resp, GNUNET_MESSAGE_TYPE_CADET_LOCAL_INFO_PATH_END); GNUNET_MQ_send (c->mq, diff --git a/src/cadet/gnunet-service-cadet_channel.c b/src/cadet/gnunet-service-cadet_channel.c index 25b408a0b..9b434ea68 100644 --- a/src/cadet/gnunet-service-cadet_channel.c +++ b/src/cadet/gnunet-service-cadet_channel.c @@ -11,7 +11,7 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -1827,7 +1827,7 @@ GCCH_handle_local_data (struct CadetChannel *ch, if (ch->pending_messages >= ch->max_pending_messages) { - GNUNET_break (0); + GNUNET_break (0); /* Fails: #5370 */ return GNUNET_SYSERR; } if (GNUNET_YES == ch->destroy) -- cgit v1.2.3