diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-04-01 00:16:19 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-04-01 00:16:19 +0000 |
commit | 1fdcd4fa20f76fa8266e77567d12ce4b627c3d71 (patch) | |
tree | 75ff8c73c20b78aa3b020be7f85cbaa35761db66 /src/mesh/gnunet-service-mesh_local.c | |
parent | aad8fa6aece707ebc88ca3d5b5345fa106813815 (diff) | |
download | gnunet-1fdcd4fa20f76fa8266e77567d12ce4b627c3d71.tar.gz gnunet-1fdcd4fa20f76fa8266e77567d12ce4b627c3d71.zip |
- use small mesh hashes for info api
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_local.c b/src/mesh/gnunet-service-mesh_local.c index 84adb7d0e..8970571a4 100644 --- a/src/mesh/gnunet-service-mesh_local.c +++ b/src/mesh/gnunet-service-mesh_local.c | |||
@@ -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_HashCode); | 808 | size += c_n * sizeof (struct GNUNET_MeshHash); |
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); |