gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27990 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r27990 - gnunet/src/mesh
Date: Sat, 13 Jul 2013 13:46:13 +0200

Author: bartpolot
Date: 2013-07-13 13:46:13 +0200 (Sat, 13 Jul 2013)
New Revision: 27990

Modified:
   gnunet/src/mesh/gnunet-service-mesh.c
Log:
- bitfield does not loke NBO

Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c       2013-07-13 11:43:32 UTC (rev 
27989)
+++ gnunet/src/mesh/gnunet-service-mesh.c       2013-07-13 11:46:13 UTC (rev 
27990)
@@ -2087,8 +2087,7 @@
     mask = 0x1 << delta;
     msg.futures |= mask;
   }
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " final futures\n");
-  msg.futures = GNUNET_htonll (msg.futures);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " final futures %llX\n", msg.futures);
 
   send_prebuilt_message (&msg.header, t->prev_hop, t);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "send_fwd_data_ack END\n");
@@ -2424,7 +2423,7 @@
   uint64_t target;
   unsigned int i;
 
-  bitfield = GNUNET_ntohll (msg->futures);
+  bitfield = msg->futures;
   mid = GNUNET_ntohll (msg->mid);
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "free_sent_buffer %llu %llX\n",




reply via email to

[Prev in Thread] Current Thread [Next in Thread]