aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d61a12c14..c5dfd5aa4 100644
--- a/src/mesh/gnunet-service-mesh_local.c
+++ b/src/mesh/gnunet-service-mesh_local.c
@@ -732,7 +732,7 @@ handle_show_tunnel (void *cls, struct GNUNET_SERVER_Client *client,
732 732
733 size = sizeof (struct GNUNET_MESH_LocalInfo); 733 size = sizeof (struct GNUNET_MESH_LocalInfo);
734 size += c_n * sizeof (struct GNUNET_HashCode); 734 size += c_n * sizeof (struct GNUNET_HashCode);
735 size += ch_n * sizeof (uint32_t); 735 size += ch_n * sizeof (MESH_ChannelNumber);
736 736
737 resp = GNUNET_malloc (size); 737 resp = GNUNET_malloc (size);
738 resp->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL); 738 resp->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL);