From d7cc145d1e86bf007b68e138aac8d61314166b52 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Jan 2017 15:04:23 +0100 Subject: [PATCH] nicer log messages --- src/cadet/gnunet-service-cadet-new_channel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index 45609107b..4d4be93d7 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c @@ -722,7 +722,7 @@ send_open_ack (void *cls) struct GNUNET_CADET_ChannelManageMessage msg; LOG (GNUNET_ERROR_TYPE_DEBUG, - "Sending CHANNEL_OPEN_ACK on channel %s\n", + "Sending CHANNEL_OPEN_ACK on %s\n", GCCH_2s (ch)); ch->retry_control_task = NULL; msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_ACK); @@ -763,7 +763,7 @@ GCCH_handle_duplicate_open (struct CadetChannel *ch) return; } LOG (GNUNET_ERROR_TYPE_DEBUG, - "Retransmitting OPEN_ACK on channel %s\n", + "Retransmitting OPEN_ACK on %s\n", GCCH_2s (ch)); ch->retry_control_task = GNUNET_SCHEDULER_add_now (&send_open_ack, @@ -1146,7 +1146,7 @@ GCCH_handle_remote_destroy (struct CadetChannel *ch) if (NULL != ch->head_recv) { LOG (GNUNET_ERROR_TYPE_WARNING, - "Lost end of transmission due to remote shutdown on channel %s\n", + "Lost end of transmission due to remote shutdown on %s\n", GCCH_2s (ch)); /* FIXME: change API to notify client about truncated transmission! */ } -- 2.25.1