diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_tunnel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 3a826a98c..e699740ce 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -1383,7 +1383,7 @@ send_kx (struct CadetTunnel *t, | |||
1383 | } | 1383 | } |
1384 | type = ntohs (message->type); | 1384 | type = ntohs (message->type); |
1385 | 1385 | ||
1386 | /* Even if tunnel is being destroyed, send anyway. | 1386 | /* Even if tunnel is "being destroyed", send anyway. |
1387 | * Could be a response to a rekey initiated by remote peer, | 1387 | * Could be a response to a rekey initiated by remote peer, |
1388 | * who is trying to create a new channel! | 1388 | * who is trying to create a new channel! |
1389 | */ | 1389 | */ |
@@ -1391,14 +1391,12 @@ send_kx (struct CadetTunnel *t, | |||
1391 | /* Must have a connection, or be looking for one. */ | 1391 | /* Must have a connection, or be looking for one. */ |
1392 | if (NULL == t->connection_head) | 1392 | if (NULL == t->connection_head) |
1393 | { | 1393 | { |
1394 | LOG (GNUNET_ERROR_TYPE_DEBUG, "%s while no connection\n", GC_m2s (type)); | ||
1394 | if (CADET_TUNNEL_SEARCHING != t->cstate) | 1395 | if (CADET_TUNNEL_SEARCHING != t->cstate) |
1395 | { | 1396 | { |
1396 | LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n"); | ||
1397 | GNUNET_break (0); | 1397 | GNUNET_break (0); |
1398 | LOG (GNUNET_ERROR_TYPE_ERROR, "no connection, sending %s\n", GC_m2s (type)); | ||
1399 | GCT_debug (t, GNUNET_ERROR_TYPE_ERROR); | 1398 | GCT_debug (t, GNUNET_ERROR_TYPE_ERROR); |
1400 | GCP_debug (t->peer, GNUNET_ERROR_TYPE_ERROR); | 1399 | GCP_debug (t->peer, GNUNET_ERROR_TYPE_ERROR); |
1401 | LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n"); | ||
1402 | } | 1400 | } |
1403 | return NULL; | 1401 | return NULL; |
1404 | } | 1402 | } |