diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:05 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-01-30 02:11:05 +0000 |
commit | d689306c470af856cb2f632fbac6f2e404d7d45a (patch) | |
tree | 152d99d80efc4d3fd24630a002744bfe2e77bd00 /src/mesh/gnunet-service-mesh_local.c | |
parent | 9a4b2cc1f44733ba28f153ac30bafd588037cca4 (diff) | |
download | gnunet-d689306c470af856cb2f632fbac6f2e404d7d45a.tar.gz gnunet-d689306c470af856cb2f632fbac6f2e404d7d45a.zip |
- use correct data type
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 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); |