diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-07-28 05:12:42 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-07-28 05:12:42 +0000 |
commit | 43630c9e9992fe0a047dab68ab69f7525b5d2063 (patch) | |
tree | 4cde3f5d4dc63dc2296efac43736ef69d33a8d40 /src/cadet | |
parent | 85d611c006759e6b30dc032dd5b681562b0549b0 (diff) | |
download | gnunet-43630c9e9992fe0a047dab68ab69f7525b5d2063.tar.gz gnunet-43630c9e9992fe0a047dab68ab69f7525b5d2063.zip |
- dont complain about tunnels in search of a path
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 8b04f6a0f..92af3dbb7 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -1294,15 +1294,18 @@ send_kx (struct CadetTunnel *t, | |||
1294 | * who is trying to create a new channel! | 1294 | * who is trying to create a new channel! |
1295 | */ | 1295 | */ |
1296 | 1296 | ||
1297 | /* Must have a connection. */ | 1297 | /* Must have a connection, or be looking for one. */ |
1298 | if (NULL == t->connection_head && CADET_TUNNEL_SEARCHING != t->cstate) | 1298 | if (NULL == t->connection_head) |
1299 | { | 1299 | { |
1300 | LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n"); | 1300 | if (CADET_TUNNEL_SEARCHING != t->cstate) |
1301 | GNUNET_break (0); | 1301 | { |
1302 | LOG (GNUNET_ERROR_TYPE_ERROR, "no connection, sending %s\n", GC_m2s (type)); | 1302 | LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n"); |
1303 | GCT_debug (t, GNUNET_ERROR_TYPE_ERROR); | 1303 | GNUNET_break (0); |
1304 | GCP_debug (t->peer, GNUNET_ERROR_TYPE_ERROR); | 1304 | LOG (GNUNET_ERROR_TYPE_ERROR, "no connection, sending %s\n", GC_m2s (type)); |
1305 | LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n"); | 1305 | GCT_debug (t, GNUNET_ERROR_TYPE_ERROR); |
1306 | GCP_debug (t->peer, GNUNET_ERROR_TYPE_ERROR); | ||
1307 | LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n"); | ||
1308 | } | ||
1306 | return; | 1309 | return; |
1307 | } | 1310 | } |
1308 | 1311 | ||