aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-10-11 08:58:17 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2011-10-11 08:58:17 +0000
commit99712a58d5a649363998f2355302df7dcc247d29 (patch)
tree33d77db5452b810dfc73567b92e12cdbecde4679 /src
parent309652872e240584696633bf388a23d86b8ae351 (diff)
ugh
git-svn-id: https://gnunet.org/svn/gnunet@17361 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r--src/core/gnunet-service-core_typemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/gnunet-service-core_typemap.c b/src/core/gnunet-service-core_typemap.c
index db9b2a1362..f55254b055 100644
--- a/src/core/gnunet-service-core_typemap.c
+++ b/src/core/gnunet-service-core_typemap.c
@@ -104,7 +104,7 @@ GSC_TYPEMAP_get_from_message (const struct GNUNET_MessageHeader *msg)
uLongf dlen;
size = ntohs (msg->size);
- switch (msg->type)
+ switch (ntohs (msg->type))
{
case GNUNET_MESSAGE_TYPE_CORE_BINARY_TYPE_MAP:
if (size != sizeof (struct GSC_TypeMap))