diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-08-13 10:45:55 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-08-13 10:45:55 +0000 |
commit | 48858242167c2161a4fdc0654ae0bf36f340633f (patch) | |
tree | c005dcd5751e4a633ae705d8d32192dca85d8be5 | |
parent | 0e3f0fd50edc4e8b59fb7359c8592d91de806b86 (diff) | |
download | gnunet-48858242167c2161a4fdc0654ae0bf36f340633f.tar.gz gnunet-48858242167c2161a4fdc0654ae0bf36f340633f.zip |
- doh
-rw-r--r-- | src/mesh/gnunet-service-mesh-enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c index b7075aaae..5cf939286 100644 --- a/src/mesh/gnunet-service-mesh-enc.c +++ b/src/mesh/gnunet-service-mesh-enc.c | |||
@@ -1620,7 +1620,7 @@ send_prebuilt_message_connection (const struct GNUNET_MessageHeader *message, | |||
1620 | size = ntohs (message->size); | 1620 | size = ntohs (message->size); |
1621 | data = GNUNET_malloc (size); | 1621 | data = GNUNET_malloc (size); |
1622 | memcpy (data, message, size); | 1622 | memcpy (data, message, size); |
1623 | type = ntohs(message->type); | 1623 | type = ntohs (message->type); |
1624 | 1624 | ||
1625 | if (GNUNET_MESSAGE_TYPE_MESH_FWD == type || | 1625 | if (GNUNET_MESSAGE_TYPE_MESH_FWD == type || |
1626 | GNUNET_MESSAGE_TYPE_MESH_BCK == type) | 1626 | GNUNET_MESSAGE_TYPE_MESH_BCK == type) |
@@ -1670,7 +1670,7 @@ send_prebuilt_message_tunnel (struct GNUNET_MESH_Encrypted *msg, | |||
1670 | GNUNET_break (0); | 1670 | GNUNET_break (0); |
1671 | return; | 1671 | return; |
1672 | } | 1672 | } |
1673 | type = ntohs (msg->header.size); | 1673 | type = ntohs (msg->header.type); |
1674 | switch (type) | 1674 | switch (type) |
1675 | { | 1675 | { |
1676 | case GNUNET_MESSAGE_TYPE_MESH_FWD: | 1676 | case GNUNET_MESSAGE_TYPE_MESH_FWD: |