gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 02/02: -remove tracing


From: gnunet
Subject: [gnunet] 02/02: -remove tracing
Date: Fri, 14 May 2021 12:29:09 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit c0b53f04253bea5b500194f3b3b4f41b444b1065
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Fri May 14 12:26:42 2021 +0200

    -remove tracing
---
 src/transport/test_communicator_basic.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/transport/test_communicator_basic.c 
b/src/transport/test_communicator_basic.c
index 970093b83..f43cdaaf3 100644
--- a/src/transport/test_communicator_basic.c
+++ b/src/transport/test_communicator_basic.c
@@ -755,13 +755,11 @@ add_queue_cb (void *cls,
   unsigned int peer_nr;
 
   peer_nr = get_peer_nr (cls, GNUNET_NO);
-
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Handle %p add %u %u\n",
        tc_h,
        peer_nr,
        get_peer_nr_from_tc (tc_h));
-
   if ((GNUNET_NO == bidirect)&&(0 != strcmp ((char*) cls, cfg_peers_name[0])))
   {
     LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -772,21 +770,11 @@ add_queue_cb (void *cls,
     return;
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Queue established, starting test...\n");
-  // start_short = GNUNET_TIME_absolute_get ();
-  // my_tc = tc_h;
-  LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "MTU: %llu, Overhead: %llu\n",
-       mtu,
-       sizeof(struct GNUNET_TRANSPORT_SendMessageTo) +
-       sizeof(struct GNUNET_MessageHeader));
   if (UINT32_MAX != mtu) /* Message header overhead */
     long_message_size = mtu - sizeof(struct GNUNET_TRANSPORT_SendMessageTo)
                         - sizeof(struct GNUNET_MessageHeader);
   else
     long_message_size = LONG_MESSAGE_SIZE;
-  LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "Set message size to %llu\n", long_message_size);
-  // phase = TP_BURST_SHORT;
   timeout[peer_nr] = GNUNET_TIME_relative_to_absolute (
     GNUNET_TIME_relative_multiply (
       GNUNET_TIME_UNIT_SECONDS,
@@ -798,8 +786,6 @@ add_queue_cb (void *cls,
       TIMEOUT_MULTIPLIER),
     &latency_timeout,
     tc_h);
-  // prepare_test (NULL);
-  // short_test (NULL);
   choose_phase (tc_h);
 }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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