diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/gnunet-service-transport_neighbours.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index 7e7b8a09f..6b2a7eef5 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c | |||
@@ -1604,13 +1604,17 @@ send_session_connect_cont (void *cls, | |||
1604 | n = lookup_neighbour (target); | 1604 | n = lookup_neighbour (target); |
1605 | if (NULL == n) | 1605 | if (NULL == n) |
1606 | { | 1606 | { |
1607 | GNUNET_break (0); /* TESTING */ | 1607 | /* CONNECT continuation was called after neighbor was freed, |
1608 | * for example due to a time out for the state or the session | ||
1609 | * used was already terminated: nothing to do here... */ | ||
1608 | return; | 1610 | return; |
1609 | } | 1611 | } |
1610 | 1612 | ||
1611 | if (GNUNET_TRANSPORT_PS_CONNECT_SENT != n->state) | 1613 | if (GNUNET_TRANSPORT_PS_CONNECT_SENT != n->state) |
1612 | { | 1614 | { |
1613 | GNUNET_break (0); /* TESTING */ | 1615 | /* CONNECT continuation was called after neighbor changed state, |
1616 | * for example due to a time out for the state or the session | ||
1617 | * used was already terminated: nothing to do here... */ | ||
1614 | return; | 1618 | return; |
1615 | } | 1619 | } |
1616 | if (GNUNET_OK == result) | 1620 | if (GNUNET_OK == result) |