[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28996 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28996 - gnunet/src/mesh |
Date: |
Wed, 4 Sep 2013 19:09:50 +0200 |
Author: bartpolot
Date: 2013-09-04 19:09:49 +0200 (Wed, 04 Sep 2013)
New Revision: 28996
Modified:
gnunet/src/mesh/gnunet-service-mesh-enc.c
Log:
- fix neighbor disconnection notifications
Modified: gnunet/src/mesh/gnunet-service-mesh-enc.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh-enc.c 2013-09-04 17:07:15 UTC (rev
28995)
+++ gnunet/src/mesh/gnunet-service-mesh-enc.c 2013-09-04 17:09:49 UTC (rev
28996)
@@ -4705,13 +4705,13 @@
fwd = peer == connection_get_prev_hop (c);
+ connection_cancel_queues (c, !fwd);
if (connection_is_terminal (c, fwd))
{
- /* Local shutdown: no point in iterating anymore */
+ /* Local shutdown, no one to notify about this. */
connection_destroy (c);
- return GNUNET_NO;
+ return GNUNET_YES;
}
- connection_cancel_queues (c, !fwd);
msg.header.size = htons (sizeof (struct GNUNET_MESH_ConnectionBroken));
msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_CONNECTION_BROKEN);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28996 - gnunet/src/mesh,
gnunet <=