From: Matthias Wachs Date: Thu, 2 Feb 2012 16:11:13 +0000 (+0000) Subject: - minor X-Git-Tag: initial-import-from-subversion-38251~14944 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3a2f0e7405a3e616968391c26be5fd1b995d623;p=oweals%2Fgnunet.git - minor --- diff --git a/src/transport/plugin_transport_udp_new.h b/src/transport/plugin_transport_udp_new.h index ec943c11b..d3eb192a1 100644 --- a/src/transport/plugin_transport_udp_new.h +++ b/src/transport/plugin_transport_udp_new.h @@ -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,12 +231,6 @@ struct Plugin struct BroadcastAddress *ipv4_broadcast_tail; struct BroadcastAddress *ipv4_broadcast_head; - - /** - * expected delay for ACKs - */ - struct GNUNET_TIME_Relative last_expected_delay; - /** * Enable IPv6 */ diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 191219107..9cc769ef1 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c @@ -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 @@ char *cfg_file_p2; #define OKPP do { ok++; } while (0) #endif - static void end () { @@ -205,7 +204,7 @@ notify_ready (void *cls, size_t size, void *buf) } 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));