gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25592 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r25592 - gnunet/src/mesh
Date: Thu, 20 Dec 2012 17:03:26 +0100

Author: bartpolot
Date: 2012-12-20 17:03:26 +0100 (Thu, 20 Dec 2012)
New Revision: 25592

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- fix

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2012-12-20 15:41:31 UTC (rev 
25591)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2012-12-20 16:03:26 UTC (rev 
25592)
@@ -4401,6 +4401,7 @@
 
   msg.header.size = htons (sizeof (msg));
   msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY);
+  GNUNET_PEER_resolve (parent, &id);
   send_prebuilt_message(&msg.header, &id, t);
 }
 
@@ -4559,7 +4560,7 @@
  */
 static void
 tunnel_destroy_empty_delayed (void *cls,
-                        const struct GNUNET_SCHEDULER_TaskContext *tc)
+                              const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct MeshTunnel *t = cls;
 
@@ -4582,6 +4583,7 @@
   }
   #endif
 
+  tunnel_send_destroy (t, GNUNET_YES);
   tunnel_destroy (t);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]