gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r19636 - gnunet/src/transport
Date: Thu, 2 Feb 2012 17:11:13 +0100

Author: wachs
Date: 2012-02-02 17:11:13 +0100 (Thu, 02 Feb 2012)
New Revision: 19636

Modified:
   gnunet/src/transport/plugin_transport_udp_new.h
   gnunet/src/transport/test_transport_api.c
Log:
- minor


Modified: gnunet/src/transport/plugin_transport_udp_new.h
===================================================================
--- gnunet/src/transport/plugin_transport_udp_new.h     2012-02-02 15:19:25 UTC 
(rev 19635)
+++ gnunet/src/transport/plugin_transport_udp_new.h     2012-02-02 16:11:13 UTC 
(rev 19636)
@@ -41,7 +41,7 @@
 
 #define LOG(kind,...) GNUNET_log_from (kind, "transport-udp", __VA_ARGS__)
 
-#define DEBUG_UDP GNUNET_YES
+#define DEBUG_UDP GNUNET_NO
 #define DEBUG_UDP_BROADCASTING GNUNET_NO
 
 /**
@@ -231,13 +231,7 @@
   struct BroadcastAddress *ipv4_broadcast_tail;
   struct BroadcastAddress *ipv4_broadcast_head;
 
-
   /**
-   * expected delay for ACKs
-   */
-  struct GNUNET_TIME_Relative last_expected_delay;
-
-  /**
    * Enable IPv6
    */
   int enable_ipv6;

Modified: gnunet/src/transport/test_transport_api.c
===================================================================
--- gnunet/src/transport/test_transport_api.c   2012-02-02 15:19:25 UTC (rev 
19635)
+++ gnunet/src/transport/test_transport_api.c   2012-02-02 16:11:13 UTC (rev 
19636)
@@ -50,7 +50,7 @@
 /**
  * How long until we give up on transmitting the message?
  */
-#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT_TRANSMIT GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 30)
 
 #define MSIZE 2600
 
@@ -88,7 +88,6 @@
 #define OKPP do { ok++; } while (0)
 #endif
 
-
 static void
 end ()
 {
@@ -205,7 +204,7 @@
   }
 
   char *ps = GNUNET_strdup (GNUNET_i2s (&p2->id));
-  GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Peer %u (`%4s') sending message with type %u and size %u bytes 
to peer %u (`%4s')\n",
               p2->no, ps, ntohs (hdr->type), ntohs (hdr->size), p->no,
               GNUNET_i2s (&p->id));




reply via email to

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