diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-11-27 16:08:09 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-11-27 16:08:09 +0000 |
commit | 7b1f04400778be78d0494803e926474ffba25cc7 (patch) | |
tree | 82ed00ca4d332dd122b7292b23b997a2acc5941a /src/mesh/gnunet-service-mesh_local.c | |
parent | 0eae481ee7934ef996c67ef482c87207fc68220b (diff) | |
download | gnunet-7b1f04400778be78d0494803e926474ffba25cc7.tar.gz gnunet-7b1f04400778be78d0494803e926474ffba25cc7.zip |
- remove old dead code / message types
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 099a55e26..8b66517d0 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -1008,7 +1008,7 @@ GML_send_channel_create (struct MeshClient *c, | |||
1008 | struct GNUNET_MESH_ChannelMessage msg; | 1008 | struct GNUNET_MESH_ChannelMessage msg; |
1009 | 1009 | ||
1010 | msg.header.size = htons (sizeof (msg)); | 1010 | msg.header.size = htons (sizeof (msg)); |
1011 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_CREATE); | 1011 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_CHANNEL_CREATE); |
1012 | msg.channel_id = htonl (id); | 1012 | msg.channel_id = htonl (id); |
1013 | msg.port = htonl (port); | 1013 | msg.port = htonl (port); |
1014 | msg.opt = htonl (opt); | 1014 | msg.opt = htonl (opt); |
@@ -1037,7 +1037,7 @@ GML_send_channel_destroy (struct MeshClient *c, uint32_t id) | |||
1037 | if (GNUNET_YES == c->shutting_down) | 1037 | if (GNUNET_YES == c->shutting_down) |
1038 | return; | 1038 | return; |
1039 | msg.header.size = htons (sizeof (msg)); | 1039 | msg.header.size = htons (sizeof (msg)); |
1040 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY); | 1040 | msg.header.type = htons (GNUNET_MESSAGE_TYPE_MESH_CHANNEL_DESTROY); |
1041 | msg.channel_id = htonl (id); | 1041 | msg.channel_id = htonl (id); |
1042 | msg.port = htonl (0); | 1042 | msg.port = htonl (0); |
1043 | memset (&msg.peer, 0, sizeof (msg.peer)); | 1043 | memset (&msg.peer, 0, sizeof (msg.peer)); |