diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.c b/src/cadet/gnunet-service-cadet_connection.c index 64a82371a0..06a227db72 100644 --- a/src/cadet/gnunet-service-cadet_connection.c +++ b/src/cadet/gnunet-service-cadet_connection.c @@ -1290,6 +1290,7 @@ connection_fwd_timeout (void *cls, int destroyed; t = c->t; + c->destroy = GNUNET_YES; destroyed = GNUNET_NO; neighbor = get_hop (c, GNUNET_NO); @@ -1350,6 +1351,7 @@ connection_bck_timeout (void *cls, int destroyed; t = c->t; + c->destroy = GNUNET_YES; destroyed = GNUNET_NO; neighbor = get_hop (c, GNUNET_YES); @@ -1885,6 +1887,7 @@ GCC_handle_broken (void* cls, t = c->t; fwd = is_fwd (c, id); + c->destroy = GNUNET_YES; if (GCC_is_terminal (c, fwd)) { struct GNUNET_MessageHeader *out_msg; @@ -1926,7 +1929,6 @@ GCC_handle_broken (void* cls, { GNUNET_assert (NULL == GCC_send_prebuilt_message (message, 0, 0, c, fwd, GNUNET_YES, NULL, NULL)); - c->destroy = GNUNET_YES; connection_cancel_queues (c, !fwd); } |