projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763c0ec
)
- send packet
author
Bart Polot
<bart@net.in.tum.de>
Fri, 22 Jun 2012 14:04:33 +0000
(14:04 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Fri, 22 Jun 2012 14:04:33 +0000
(14:04 +0000)
src/mesh/mesh_api.c
patch
|
blob
|
history
diff --git
a/src/mesh/mesh_api.c
b/src/mesh/mesh_api.c
index ca4bff36fd444d14e1de06444e0e53f52a96d0a3..5860e5d4d7e535621f91aea830d5e8a18a194d65 100644
(file)
--- a/
src/mesh/mesh_api.c
+++ b/
src/mesh/mesh_api.c
@@
-1392,7
+1392,9
@@
void
GNUNET_MESH_announce_regex (struct GNUNET_MESH_Handle *h,
const char *regex)
{
+ struct GNUNET_MessageHeader *msg;
+ msg = GNUNET_malloc
}
/**
@@
-1603,6
+1605,8
@@
GNUNET_MESH_peer_request_connect_by_string (struct GNUNET_MESH_Tunnel *tunnel,
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);
}