gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r34011 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r34011 - gnunet/src/cadet
Date: Wed, 23 Jul 2014 07:47:23 +0200

Author: bartpolot
Date: 2014-07-23 07:47:23 +0200 (Wed, 23 Jul 2014)
New Revision: 34011

Modified:
   gnunet/src/cadet/gnunet-service-cadet_channel.c
Log:
- fix logging

Modified: gnunet/src/cadet/gnunet-service-cadet_channel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_channel.c     2014-07-22 16:00:36 UTC 
(rev 34010)
+++ gnunet/src/cadet/gnunet-service-cadet_channel.c     2014-07-23 05:47:23 UTC 
(rev 34011)
@@ -1519,14 +1519,13 @@
 
   rel = fwd ? ch->dest_rel : ch->root_rel;
   ack = rel->mid_recv - 1;
-  LOG (GNUNET_ERROR_TYPE_INFO, "===> DATA_ACK for %u\n", ack);
 
   msg.header.type = htons (GNUNET_MESSAGE_TYPE_CADET_DATA_ACK);
   msg.header.size = htons (sizeof (msg));
   msg.chid = htonl (ch->gid);
   msg.mid = htonl (ack);
 
-  msg.futures = 0;
+  msg.futures = 0LL;
   for (copy = rel->head_recv; NULL != copy; copy = copy->next)
   {
     if (copy->type != GNUNET_MESSAGE_TYPE_CADET_DATA)
@@ -1544,7 +1543,8 @@
          " setting bit for %u (delta %u) (%llX) -> %llX\n",
          copy->mid, delta, mask, msg.futures);
   }
-  LOG (GNUNET_ERROR_TYPE_DEBUG, " final futures: %llX\n", ack, msg.futures);
+  LOG (GNUNET_ERROR_TYPE_INFO, "===> DATA_ACK for %u + %llX\n",
+       ack, msg.futures);
 
   GCCH_send_prebuilt_message (&msg.header, ch, !fwd, NULL);
   LOG (GNUNET_ERROR_TYPE_DEBUG, "send_data_ack END\n");
@@ -2015,7 +2015,7 @@
   }
 
   ack = ntohl (msg->mid);
-  LOG (GNUNET_ERROR_TYPE_INFO, "<=== %s ACK %u + %X\n",
+  LOG (GNUNET_ERROR_TYPE_INFO, "<=== %s ACK %u + %llX\n",
        GC_f2s (fwd), ack, msg->futures);
 
   if (GNUNET_YES == fwd)




reply via email to

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