gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r16642 - gnunet/src/mesh
Date: Tue, 30 Aug 2011 15:05:30 +0200

Author: grothoff
Date: 2011-08-30 15:05:30 +0200 (Tue, 30 Aug 2011)
New Revision: 16642

Modified:
   gnunet/src/mesh/mesh_api_new.c
Log:
use define

Modified: gnunet/src/mesh/mesh_api_new.c
===================================================================
--- gnunet/src/mesh/mesh_api_new.c      2011-08-30 13:03:41 UTC (rev 16641)
+++ gnunet/src/mesh/mesh_api_new.c      2011-08-30 13:05:30 UTC (rev 16642)
@@ -737,7 +737,7 @@
   h->cls = cls;
   h->message_handlers = handlers;
   h->applications = stypes;
-  h->next_tid = 0x80000000;
+  h->next_tid = GNUNET_MESH_LOCAL_TUNNEL_ID_MARK;
 
   /* count handlers and apps, calculate size */
   for (h->n_handlers = 0; handlers[h->n_handlers].type; h->n_handlers++) ;
@@ -962,6 +962,7 @@
 {
   struct GNUNET_MESH_ConnectPeerByType msg;
 
+  /* FIXME: remember request connect by type for reconnect! */
   msg.header.size = htons (sizeof (struct GNUNET_MESH_ConnectPeerByType));
   msg.header.type =  htons 
(GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_BY_TYPE);
   msg.tunnel_id = htonl (tunnel->tid);




reply via email to

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