gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33337 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r33337 - gnunet/src/transport
Date: Tue, 20 May 2014 13:33:55 +0200

Author: wachs
Date: 2014-05-20 13:33:55 +0200 (Tue, 20 May 2014)
New Revision: 33337

Modified:
   gnunet/src/transport/plugin_transport_tcp.c
Log:
improved log message


Modified: gnunet/src/transport/plugin_transport_tcp.c
===================================================================
--- gnunet/src/transport/plugin_transport_tcp.c 2014-05-20 11:32:11 UTC (rev 
33336)
+++ gnunet/src/transport/plugin_transport_tcp.c 2014-05-20 11:33:55 UTC (rev 
33337)
@@ -1024,8 +1024,9 @@
     GNUNET_CONTAINER_DLL_remove(session->pending_messages_head,
         session->pending_messages_tail, pos);
     GNUNET_assert(size >= pos->message_size);
-    LOG(GNUNET_ERROR_TYPE_DEBUG, "Transmitting message of type %u\n",
-        ntohs (((struct GNUNET_MessageHeader * ) pos->msg)->type));
+    LOG(GNUNET_ERROR_TYPE_DEBUG, "Transmitting message of type %u size %u\n",
+        ntohs (((struct GNUNET_MessageHeader * ) pos->msg)->type),
+        pos->message_size);
     /* FIXME: this memcpy can be up to 7% of our total runtime */
     memcpy (cbuf, pos->msg, pos->message_size);
     cbuf += pos->message_size;
@@ -1793,7 +1794,6 @@
       timeout, &append_port, ppc);
   if (NULL != ppc->resolver_handle)
   {
-    //GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Adding request %p\n", ppc);
     GNUNET_CONTAINER_DLL_insert(ppc_dll_head, ppc_dll_tail, ppc);
   }
   else




reply via email to

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