aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet-new_connection.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-01-23 15:24:20 +0100
committerChristian Grothoff <christian@grothoff.org>2017-01-23 15:24:20 +0100
commitcdcc7daf6e5945c737578deffab3087c66ac5d94 (patch)
treef860cfb68d2b892325f6e00fec6f9abeee40d3d4 /src/cadet/gnunet-service-cadet-new_connection.c
parentd7cc145d1e86bf007b68e138aac8d61314166b52 (diff)
downloadgnunet-cdcc7daf6e5945c737578deffab3087c66ac5d94.tar.gz
gnunet-cdcc7daf6e5945c737578deffab3087c66ac5d94.zip
give more complete message types in log output
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_connection.c')
-rw-r--r--src/cadet/gnunet-service-cadet-new_connection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_connection.c b/src/cadet/gnunet-service-cadet-new_connection.c
index b365599bf..60389008c 100644
--- a/src/cadet/gnunet-service-cadet-new_connection.c
+++ b/src/cadet/gnunet-service-cadet-new_connection.c
@@ -209,7 +209,7 @@ GCC_get_ct (struct CadetConnection *cc)
209 209
210 210
211/** 211/**
212 * A connection ACK was received for this connection, implying 212 * A CADET_CONNECTION_ACK was received for this connection, implying
213 * that the end-to-end connection is up. Process it. 213 * that the end-to-end connection is up. Process it.
214 * 214 *
215 * @param cc the connection that got the ACK. 215 * @param cc the connection that got the ACK.
@@ -218,7 +218,7 @@ void
218GCC_handle_connection_create_ack (struct CadetConnection *cc) 218GCC_handle_connection_create_ack (struct CadetConnection *cc)
219{ 219{
220 LOG (GNUNET_ERROR_TYPE_DEBUG, 220 LOG (GNUNET_ERROR_TYPE_DEBUG,
221 "Received CREATE_ACK for %s in state %d (%s)\n", 221 "Received CADET_CONNECTION_CREATE_ACK for %s in state %d (%s)\n",
222 GCC_2s (cc), 222 GCC_2s (cc),
223 cc->state, 223 cc->state,
224 (GNUNET_YES == cc->mqm_ready) ? "MQM ready" : "MQM busy"); 224 (GNUNET_YES == cc->mqm_ready) ? "MQM ready" : "MQM busy");
@@ -251,10 +251,10 @@ GCC_handle_kx (struct CadetConnection *cc,
251{ 251{
252 if (CADET_CONNECTION_SENT == cc->state) 252 if (CADET_CONNECTION_SENT == cc->state)
253 { 253 {
254 /* We didn't get the CREATE_ACK, but instead got payload. That's fine, 254 /* We didn't get the CADET_CONNECTION_CREATE_ACK, but instead got payload. That's fine,
255 clearly something is working, so pretend we got an ACK. */ 255 clearly something is working, so pretend we got an ACK. */
256 LOG (GNUNET_ERROR_TYPE_DEBUG, 256 LOG (GNUNET_ERROR_TYPE_DEBUG,
257 "Faking connection ACK for %s due to KX\n", 257 "Faking connection CADET_CONNECTION_CREATE_ACK for %s due to KX\n",
258 GCC_2s (cc)); 258 GCC_2s (cc));
259 GCC_handle_connection_create_ack (cc); 259 GCC_handle_connection_create_ack (cc);
260 } 260 }
@@ -314,7 +314,7 @@ send_create (void *cls)
314 pids[i + 1] = *GCP_get_id (GCPP_get_peer_at_offset (cc->path, 314 pids[i + 1] = *GCP_get_id (GCPP_get_peer_at_offset (cc->path,
315 i)); 315 i));
316 LOG (GNUNET_ERROR_TYPE_DEBUG, 316 LOG (GNUNET_ERROR_TYPE_DEBUG,
317 "Sending CONNECTION_CREATE message for %s\n", 317 "Sending CADET_CONNECTION_CREATE message for %s\n",
318 GCC_2s (cc)); 318 GCC_2s (cc));
319 cc->env = env; 319 cc->env = env;
320 cc->mqm_ready = GNUNET_NO; 320 cc->mqm_ready = GNUNET_NO;