gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated (5087e28bb -> c0b53f042)


From: gnunet
Subject: [gnunet] branch master updated (5087e28bb -> c0b53f042)
Date: Fri, 14 May 2021 12:29:07 +0200

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

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

    from 5087e28bb -fix compiler warnings
     new 014b6c1b3 -tng: fix max MTU value
     new c0b53f042 -remove tracing

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/transport/test_communicator_basic.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/transport/test_communicator_basic.c 
b/src/transport/test_communicator_basic.c
index 202bc0a5b..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,14 +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;
-  if (0 != mtu) /* Message header overhead */
+  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;
-  // phase = TP_BURST_SHORT;
   timeout[peer_nr] = GNUNET_TIME_relative_to_absolute (
     GNUNET_TIME_relative_multiply (
       GNUNET_TIME_UNIT_SECONDS,
@@ -791,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]