diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-04-07 12:00:28 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-04-07 12:00:28 +0000 |
commit | 22f59cade743d9209cf212946a42b859bbb51b87 (patch) | |
tree | 7dbb95ac1d6cf64477510c67c365c6c04182b1d2 /src/mesh/gnunet-service-mesh_local.c | |
parent | 864a6bfe96db3c0eae0dc188708dcac0ac4ce9cd (diff) | |
download | gnunet-22f59cade743d9209cf212946a42b859bbb51b87.tar.gz gnunet-22f59cade743d9209cf212946a42b859bbb51b87.zip |
- rename 256 bit mesh hash type
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 8970571a4..854def70f 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -727,7 +727,7 @@ static void | |||
727 | iter_connection (void *cls, struct MeshConnection *c) | 727 | iter_connection (void *cls, struct MeshConnection *c) |
728 | { | 728 | { |
729 | struct GNUNET_MESH_LocalInfoTunnel *msg = cls; | 729 | struct GNUNET_MESH_LocalInfoTunnel *msg = cls; |
730 | struct GNUNET_MeshHash *h = (struct GNUNET_MeshHash *) &msg[1]; | 730 | struct GNUNET_MESH_Hash *h = (struct GNUNET_MESH_Hash *) &msg[1]; |
731 | 731 | ||
732 | h[msg->connections] = *(GMC_get_id (c)); | 732 | h[msg->connections] = *(GMC_get_id (c)); |
733 | msg->connections++; | 733 | msg->connections++; |
@@ -805,7 +805,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client, | |||
805 | c_n = GMT_count_connections (t); | 805 | c_n = GMT_count_connections (t); |
806 | 806 | ||
807 | size = sizeof (struct GNUNET_MESH_LocalInfoTunnel); | 807 | size = sizeof (struct GNUNET_MESH_LocalInfoTunnel); |
808 | size += c_n * sizeof (struct GNUNET_MeshHash); | 808 | size += c_n * sizeof (struct GNUNET_MESH_Hash); |
809 | size += ch_n * sizeof (MESH_ChannelNumber); | 809 | size += ch_n * sizeof (MESH_ChannelNumber); |
810 | 810 | ||
811 | resp = GNUNET_malloc (size); | 811 | resp = GNUNET_malloc (size); |