diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-06-24 02:44:26 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-06-24 02:44:26 +0000 |
commit | 4b78b2765bc915eb1243aa1f21a1b57e826d7a22 (patch) | |
tree | 9987fd11cb4b01b6c535c249558c30b81fdad20e /src | |
parent | ca5b02692e7b69e59b0bbf6d2898eacbdb74392a (diff) | |
download | gnunet-4b78b2765bc915eb1243aa1f21a1b57e826d7a22.tar.gz gnunet-4b78b2765bc915eb1243aa1f21a1b57e826d7a22.zip |
- use setter, imporve logs
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index f9df3274e..7e02522ba 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -2328,12 +2328,12 @@ GCT_remove_connection (struct CadetTunnel *t, | |||
2328 | if (CADET_TUNNEL_READY != t->cstate) | 2328 | if (CADET_TUNNEL_READY != t->cstate) |
2329 | return; | 2329 | return; |
2330 | 2330 | ||
2331 | /* Check if any connection is ready to maintaing cstate */ | 2331 | /* Check if any connection is ready to maintain cstate */ |
2332 | for (aux = t->connection_head; aux != NULL; aux = aux->next) | 2332 | for (aux = t->connection_head; aux != NULL; aux = aux->next) |
2333 | if (CADET_CONNECTION_READY == GCC_get_state (aux->c)) | 2333 | if (CADET_CONNECTION_READY == GCC_get_state (aux->c)) |
2334 | return; | 2334 | return; |
2335 | 2335 | ||
2336 | t->cstate = CADET_TUNNEL_WAITING; | 2336 | GCT_change_cstate (t, CADET_TUNNEL_WAITING); |
2337 | } | 2337 | } |
2338 | 2338 | ||
2339 | 2339 | ||