diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-17 11:02:57 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-17 11:02:57 +0000 |
commit | df9496caaf3f8edba42bae86c0512a2cedb4ddc0 (patch) | |
tree | 0b069ca566462c3ccbc30a609d42814640a86c22 /src | |
parent | 8fb72e64fd06c26ba31f296b882e07455e997625 (diff) | |
download | gnunet-df9496caaf3f8edba42bae86c0512a2cedb4ddc0.tar.gz gnunet-df9496caaf3f8edba42bae86c0512a2cedb4ddc0.zip |
- log
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh_connection.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh_connection.c b/src/mesh/gnunet-service-mesh_connection.c index 6947e4726..b33737eba 100644 --- a/src/mesh/gnunet-service-mesh_connection.c +++ b/src/mesh/gnunet-service-mesh_connection.c | |||
@@ -360,7 +360,7 @@ connection_reset_timeout (struct MeshConnection *c, int fwd); | |||
360 | 360 | ||
361 | 361 | ||
362 | /** | 362 | /** |
363 | * Get string description for tunnel state. | 363 | * Get string description for tunnel state. Reentrant. |
364 | * | 364 | * |
365 | * @param s Tunnel state. | 365 | * @param s Tunnel state. |
366 | * | 366 | * |
@@ -424,16 +424,13 @@ connection_change_state (struct MeshConnection* c, | |||
424 | enum MeshConnectionState state) | 424 | enum MeshConnectionState state) |
425 | { | 425 | { |
426 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 426 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
427 | "Connection %s state was %s\n", | 427 | "Connection %s state %s -> %s\n", |
428 | GMC_2s (c), GMC_state2s (c->state)); | 428 | GMC_2s (c), GMC_state2s (c->state), GMC_state2s (state)); |
429 | if (MESH_CONNECTION_DESTROYED == c->state) | 429 | if (MESH_CONNECTION_DESTROYED == c->state) |
430 | { | 430 | { |
431 | LOG (GNUNET_ERROR_TYPE_DEBUG, "state not changing anymore\n"); | 431 | LOG (GNUNET_ERROR_TYPE_DEBUG, "state not changing anymore\n"); |
432 | return; | 432 | return; |
433 | } | 433 | } |
434 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
435 | "Connection %s state is now %s\n", | ||
436 | GMC_2s (c), GMC_state2s (state)); | ||
437 | c->state = state; | 434 | c->state = state; |
438 | if (MESH_CONNECTION_READY == state) | 435 | if (MESH_CONNECTION_READY == state) |
439 | c->create_retry = 1; | 436 | c->create_retry = 1; |