- use small mesh hashes for info api
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_local.c
index 84adb7d0e6692405c84b430704be6d9b30733b17..8970571a4e48d8a2f4ab84f1911564fd97a55cbd 100644 (file)
@@ -805,7 +805,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client,
   c_n = GMT_count_connections (t);
 
   size = sizeof (struct GNUNET_MESH_LocalInfoTunnel);
-  size += c_n * sizeof (struct GNUNET_HashCode);
+  size += c_n * sizeof (struct GNUNET_MeshHash);
   size += ch_n * sizeof (MESH_ChannelNumber);
 
   resp = GNUNET_malloc (size);