gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30279 - gnunet/src/mesh
Date: Fri, 18 Oct 2013 06:02:04 +0200

Author: bartpolot
Date: 2013-10-18 06:02:03 +0200 (Fri, 18 Oct 2013)
New Revision: 30279

Modified:
   gnunet/src/mesh/gnunet-service-mesh_connection.c
Log:
- doing stuff after destroying a connection? not good...


Modified: gnunet/src/mesh/gnunet-service-mesh_connection.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_connection.c    2013-10-18 03:54:59 UTC 
(rev 30278)
+++ gnunet/src/mesh/gnunet-service-mesh_connection.c    2013-10-18 04:02:03 UTC 
(rev 30279)
@@ -452,6 +452,7 @@
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG, "!  destroying connection!\n");
     GMC_destroy (c);
+    return;
   }
   /* Send ACK if needed, after accounting for sent ID in fc->queue_n */
   switch (type)
@@ -2158,7 +2159,7 @@
       droppable = GNUNET_NO;
       break;
 
-    case GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY:
+    case GNUNET_MESSAGE_TYPE_MESH_CONNECTION_DESTROY:
       dmsg = (struct GNUNET_MESH_ConnectionDestroy *) data;
       dmsg->cid = c->id;
       dmsg->reserved = 0;
@@ -2243,7 +2244,7 @@
     return;
 
   msg.header.size = htons (sizeof (msg));
-  msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_TUNNEL_DESTROY);;
+  msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_CONNECTION_DESTROY);;
   msg.cid = c->id;
   LOG (GNUNET_ERROR_TYPE_DEBUG,
               "  sending connection destroy for connection %s\n",




reply via email to

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