Fixed a double DLL_insert of an incoming tunnel
authorBart Polot <bart@net.in.tum.de>
Tue, 4 Oct 2011 14:50:16 +0000 (14:50 +0000)
committerBart Polot <bart@net.in.tum.de>
Tue, 4 Oct 2011 14:50:16 +0000 (14:50 +0000)
src/mesh/mesh_api_new.c

index 8ddeecff06d78d2cd2568f937e76838c1a45fb30..142427c97c572c766980c2ca10a6e54118d51b80 100644 (file)
@@ -774,7 +774,6 @@ process_tunnel_created (struct GNUNET_MESH_Handle *h,
     atsi.value = 0;
     t->ctx = h->new_tunnel (h->cls, t, &msg->peer, &atsi);
   }
-  GNUNET_CONTAINER_DLL_insert (h->tunnels_head, h->tunnels_tail, t);
   return;
 }