[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30377 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30377 - gnunet/src/mesh |
Date: |
Mon, 21 Oct 2013 17:27:32 +0200 |
Author: bartpolot
Date: 2013-10-21 17:27:32 +0200 (Mon, 21 Oct 2013)
New Revision: 30377
Modified:
gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- dont send connection broken on terminal peers
Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-10-21 15:25:54 UTC
(rev 30376)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c 2013-10-21 15:27:32 UTC
(rev 30377)
@@ -2013,14 +2013,14 @@
fwd = peer == get_prev_hop (c);
- send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
connection_cancel_queues (c, !fwd);
- if (GMC_is_terminal (c, fwd))
+ if (GNUNET_YES == GMC_is_terminal (c, fwd))
{
/* Local shutdown, no one to notify about this. */
GMC_destroy (c);
return;
}
+ send_broken (c, &my_full_id, GMP_get_id (peer), fwd);
/* Connection will have at least one pending message
* (the one we just scheduled), so no point in checking whether to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30377 - gnunet/src/mesh,
gnunet <=