aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_local.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-10 09:52:45 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-10 09:52:45 +0000
commit71470338de5201291b8ea217f98e519b760a74a4 (patch)
tree9b692b4d7fe275ffabbf19a02c181d6b6a2b5ce1 /src/mesh/gnunet-service-mesh_local.c
parent373661bd9a40828681f6f9d8f3f1484c2db5b567 (diff)
downloadgnunet-71470338de5201291b8ea217f98e519b760a74a4.tar.gz
gnunet-71470338de5201291b8ea217f98e519b760a74a4.zip
- use an array of 256 hashes on connection info
Diffstat (limited to 'src/mesh/gnunet-service-mesh_local.c')
-rw-r--r--src/mesh/gnunet-service-mesh_local.c2
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 7eea84bef..84adb7d0e 100644
--- a/src/mesh/gnunet-service-mesh_local.c
+++ b/src/mesh/gnunet-service-mesh_local.c
@@ -727,7 +727,7 @@ static void
727iter_connection (void *cls, struct MeshConnection *c) 727iter_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_HashCode *h = (struct GNUNET_HashCode *) &msg[1]; 730 struct GNUNET_MeshHash *h = (struct GNUNET_MeshHash *) &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++;