projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9a4b2cc
)
- use correct data type
author
Bart Polot
<bart@net.in.tum.de>
Thu, 30 Jan 2014 02:11:05 +0000
(
02:11
+0000)
committer
Bart Polot
<bart@net.in.tum.de>
Thu, 30 Jan 2014 02:11:05 +0000
(
02:11
+0000)
src/mesh/gnunet-service-mesh_local.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh_local.c
b/src/mesh/gnunet-service-mesh_local.c
index d61a12c1450ddb29ab5f9be9221197c367a2e925..c5dfd5aa41612d2aaa02d48fac4b42ae123fb098 100644
(file)
--- 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,
size = sizeof (struct GNUNET_MESH_LocalInfo);
size += c_n * sizeof (struct GNUNET_HashCode);
- size += ch_n * sizeof (
uint32_t
);
+ size += ch_n * sizeof (
MESH_ChannelNumber
);
resp = GNUNET_malloc (size);
resp->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL);