diff options
author | Bart Polot <bart@net.in.tum.de> | 2015-07-31 06:58:50 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2015-07-31 06:58:50 +0000 |
commit | 67c4ab7d1c17f2be8e916568889af45bd51005be (patch) | |
tree | 2c6a8540023c084df8dec222b4aeb42b82ba7da3 /src | |
parent | 0c2143f91c93f51ffbd75856b1136d1a45b44166 (diff) | |
download | gnunet-67c4ab7d1c17f2be8e916568889af45bd51005be.tar.gz gnunet-67c4ab7d1c17f2be8e916568889af45bd51005be.zip |
- remove hello logging
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_hello.c | 4 | ||||
-rw-r--r-- | src/cadet/gnunet-service-cadet_peer.c | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/src/cadet/gnunet-service-cadet_hello.c b/src/cadet/gnunet-service-cadet_hello.c index 7da6b0a49..9229483fe 100644 --- a/src/cadet/gnunet-service-cadet_hello.c +++ b/src/cadet/gnunet-service-cadet_hello.c | |||
@@ -112,10 +112,7 @@ got_hello (void *cls, const struct GNUNET_PeerIdentity *id, | |||
112 | GCP_set_hello (peer, hello); | 112 | GCP_set_hello (peer, hello); |
113 | 113 | ||
114 | if (GCP_get_short_id (peer) == myid) | 114 | if (GCP_get_short_id (peer) == myid) |
115 | { | ||
116 | mine = GCP_get_hello (peer); | 115 | mine = GCP_get_hello (peer); |
117 | LOG (GNUNET_ERROR_TYPE_DEBUG, " updated mine to %p\n", mine); | ||
118 | } | ||
119 | } | 116 | } |
120 | 117 | ||
121 | 118 | ||
@@ -165,7 +162,6 @@ GCH_shutdown () | |||
165 | const struct GNUNET_HELLO_Message * | 162 | const struct GNUNET_HELLO_Message * |
166 | GCH_get_mine (void) | 163 | GCH_get_mine (void) |
167 | { | 164 | { |
168 | LOG (GNUNET_ERROR_TYPE_DEBUG, " mine is %p\n", mine); | ||
169 | return mine; | 165 | return mine; |
170 | } | 166 | } |
171 | 167 | ||
diff --git a/src/cadet/gnunet-service-cadet_peer.c b/src/cadet/gnunet-service-cadet_peer.c index 88bc9179d..66b1b8ff3 100644 --- a/src/cadet/gnunet-service-cadet_peer.c +++ b/src/cadet/gnunet-service-cadet_peer.c | |||
@@ -2442,15 +2442,12 @@ GCP_set_hello (struct CadetPeer *peer, const struct GNUNET_HELLO_Message *hello) | |||
2442 | if (NULL == old) | 2442 | if (NULL == old) |
2443 | { | 2443 | { |
2444 | size = GNUNET_HELLO_size (hello); | 2444 | size = GNUNET_HELLO_size (hello); |
2445 | LOG (GNUNET_ERROR_TYPE_DEBUG, " new (%u bytes)\n", size); | ||
2446 | peer->hello = GNUNET_malloc (size); | 2445 | peer->hello = GNUNET_malloc (size); |
2447 | memcpy (peer->hello, hello, size); | 2446 | memcpy (peer->hello, hello, size); |
2448 | } | 2447 | } |
2449 | else | 2448 | else |
2450 | { | 2449 | { |
2451 | peer->hello = GNUNET_HELLO_merge (old, hello); | 2450 | peer->hello = GNUNET_HELLO_merge (old, hello); |
2452 | LOG (GNUNET_ERROR_TYPE_DEBUG, " merge into %p (%u bytes)\n", | ||
2453 | peer->hello, GNUNET_HELLO_size (hello)); | ||
2454 | GNUNET_free (old); | 2451 | GNUNET_free (old); |
2455 | } | 2452 | } |
2456 | GCC_check_connections (); | 2453 | GCC_check_connections (); |