gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r22209 - gnunet/src/mesh
Date: Fri, 22 Jun 2012 16:04:33 +0200

Author: bartpolot
Date: 2012-06-22 16:04:33 +0200 (Fri, 22 Jun 2012)
New Revision: 22209

Modified:
   gnunet/src/mesh/mesh_api.c
Log:
- send packet

Modified: gnunet/src/mesh/mesh_api.c
===================================================================
--- gnunet/src/mesh/mesh_api.c  2012-06-22 14:01:54 UTC (rev 22208)
+++ gnunet/src/mesh/mesh_api.c  2012-06-22 14:04:33 UTC (rev 22209)
@@ -1392,7 +1392,9 @@
 GNUNET_MESH_announce_regex (struct GNUNET_MESH_Handle *h,
                             const char *regex)
 {
+  struct GNUNET_MessageHeader *msg;
   
+  msg = GNUNET_malloc
 }
 
 /**
@@ -1603,6 +1605,8 @@
   msg->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD_BY_STRING);
   msg->tunnel_id = htonl (tunnel->tid);
   memcpy(&msg[1], description, len);
+
+  send_packet (tunnel->mesh, &msg->header, tunnel);
 }
 
 




reply via email to

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