- send START first
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 28 Feb 2012 09:04:36 +0000 (09:04 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 28 Feb 2012 09:04:36 +0000 (09:04 +0000)
src/namestore/namestore_api.c

index 2b3e87c2088bdfc6e9e85c6bee80ce489e0c9c91..dc6a0aa8fac0bf6b753347dfe1dce21f1f0d63a4 100644 (file)
@@ -585,7 +585,7 @@ reconnect (struct GNUNET_NAMESTORE_Handle *h)
     init = (struct StartMessage *) &p[1];
     init->header.type = htons (GNUNET_MESSAGE_TYPE_NAMESTORE_START);
     init->header.size = htons (sizeof (struct StartMessage));
-    GNUNET_CONTAINER_DLL_insert_tail (h->pending_head, h->pending_tail, p);
+    GNUNET_CONTAINER_DLL_insert (h->pending_head, h->pending_tail, p);
   }
   do_transmit (h);
 }