[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 01/02: handle loopback in GCCH_2s
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 01/02: handle loopback in GCCH_2s |
Date: |
Mon, 23 Jan 2017 20:13:48 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 28b25959ed7a476053dda2f2c24a9d5b9b477eaf
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Jan 23 20:09:37 2017 +0100
handle loopback in GCCH_2s
---
src/cadet/gnunet-service-cadet-new_channel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c
b/src/cadet/gnunet-service-cadet-new_channel.c
index 4d4be93d7..0d2545fb4 100644
--- a/src/cadet/gnunet-service-cadet-new_channel.c
+++ b/src/cadet/gnunet-service-cadet-new_channel.c
@@ -337,7 +337,9 @@ GCCH_2s (const struct CadetChannel *ch)
GNUNET_snprintf (buf,
sizeof (buf),
"Channel %s:%s ctn:%X(%X/%X)",
- GNUNET_i2s (GCP_get_id (GCT_get_destination (ch->t))),
+ (GNUNET_YES == ch->is_loopback)
+ ? "loopback"
+ : GNUNET_i2s (GCP_get_id (GCT_get_destination (ch->t))),
GNUNET_h2s (&ch->port),
ch->ctn,
ntohl (ch->ccn_owner.channel_of_client),
--
To stop receiving notification emails like this one, please contact
address@hidden