diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-23 15:04:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-23 15:04:23 +0100 |
commit | d7cc145d1e86bf007b68e138aac8d61314166b52 (patch) | |
tree | 30c088641ec709d12a966ae1eaf0c5c2d8ab7b67 /src/cadet/gnunet-service-cadet-new_channel.c | |
parent | a08d1c815cb62b194c4dcbacbc4fdf97376482d4 (diff) | |
download | gnunet-d7cc145d1e86bf007b68e138aac8d61314166b52.tar.gz gnunet-d7cc145d1e86bf007b68e138aac8d61314166b52.zip |
nicer log messages
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_channel.c | 6 |
1 files 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) | |||
722 | struct GNUNET_CADET_ChannelManageMessage msg; | 722 | struct GNUNET_CADET_ChannelManageMessage msg; |
723 | 723 | ||
724 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 724 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
725 | "Sending CHANNEL_OPEN_ACK on channel %s\n", | 725 | "Sending CHANNEL_OPEN_ACK on %s\n", |
726 | GCCH_2s (ch)); | 726 | GCCH_2s (ch)); |
727 | ch->retry_control_task = NULL; | 727 | ch->retry_control_task = NULL; |
728 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_ACK); | 728 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CHANNEL_OPEN_ACK); |
@@ -763,7 +763,7 @@ GCCH_handle_duplicate_open (struct CadetChannel *ch) | |||
763 | return; | 763 | return; |
764 | } | 764 | } |
765 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 765 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
766 | "Retransmitting OPEN_ACK on channel %s\n", | 766 | "Retransmitting OPEN_ACK on %s\n", |
767 | GCCH_2s (ch)); | 767 | GCCH_2s (ch)); |
768 | ch->retry_control_task | 768 | ch->retry_control_task |
769 | = GNUNET_SCHEDULER_add_now (&send_open_ack, | 769 | = GNUNET_SCHEDULER_add_now (&send_open_ack, |
@@ -1146,7 +1146,7 @@ GCCH_handle_remote_destroy (struct CadetChannel *ch) | |||
1146 | if (NULL != ch->head_recv) | 1146 | if (NULL != ch->head_recv) |
1147 | { | 1147 | { |
1148 | LOG (GNUNET_ERROR_TYPE_WARNING, | 1148 | LOG (GNUNET_ERROR_TYPE_WARNING, |
1149 | "Lost end of transmission due to remote shutdown on channel %s\n", | 1149 | "Lost end of transmission due to remote shutdown on %s\n", |
1150 | GCCH_2s (ch)); | 1150 | GCCH_2s (ch)); |
1151 | /* FIXME: change API to notify client about truncated transmission! */ | 1151 | /* FIXME: change API to notify client about truncated transmission! */ |
1152 | } | 1152 | } |