diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-07-13 11:46:13 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-07-13 11:46:13 +0000 |
commit | a52ed8e9f53fde3dd97ebd989c20c5729cbba7e1 (patch) | |
tree | 0b4b04deb38737799974eeda7ca4bbebd397b414 /src/mesh/gnunet-service-mesh.c | |
parent | 38ecac6fb68eb983685f87644b9d79c06ea56ca2 (diff) | |
download | gnunet-a52ed8e9f53fde3dd97ebd989c20c5729cbba7e1.tar.gz gnunet-a52ed8e9f53fde3dd97ebd989c20c5729cbba7e1.zip |
- bitfield does not loke NBO
Diffstat (limited to 'src/mesh/gnunet-service-mesh.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 9c1a9b089..936b81ca7 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -2087,8 +2087,7 @@ tunnel_send_fwd_data_ack (struct MeshTunnel *t) | |||
2087 | mask = 0x1 << delta; | 2087 | mask = 0x1 << delta; |
2088 | msg.futures |= mask; | 2088 | msg.futures |= mask; |
2089 | } | 2089 | } |
2090 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " final futures\n"); | 2090 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " final futures %llX\n", msg.futures); |
2091 | msg.futures = GNUNET_htonll (msg.futures); | ||
2092 | 2091 | ||
2093 | send_prebuilt_message (&msg.header, t->prev_hop, t); | 2092 | send_prebuilt_message (&msg.header, t->prev_hop, t); |
2094 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "send_fwd_data_ack END\n"); | 2093 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "send_fwd_data_ack END\n"); |
@@ -2424,7 +2423,7 @@ tunnel_free_buffer_ucast (struct MeshTunnel *t, | |||
2424 | uint64_t target; | 2423 | uint64_t target; |
2425 | unsigned int i; | 2424 | unsigned int i; |
2426 | 2425 | ||
2427 | bitfield = GNUNET_ntohll (msg->futures); | 2426 | bitfield = msg->futures; |
2428 | mid = GNUNET_ntohll (msg->mid); | 2427 | mid = GNUNET_ntohll (msg->mid); |
2429 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2428 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2430 | "free_sent_buffer %llu %llX\n", | 2429 | "free_sent_buffer %llu %llX\n", |