From fa17e0a271f2e8a51017dc35756dab1254cf4b0a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Jul 2009 12:22:30 +0000 Subject: [PATCH] dgbg --- src/util/client.c | 2 +- src/util/network.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/util/client.c b/src/util/client.c index f0322ffa5..487f3f8e8 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -210,7 +210,7 @@ check_complete (struct GNUNET_CLIENT_Connection *conn) /** * Callback function for data received from the network. Note that - * both "available" and "err" would be 0 if the read simply timed out. + * both "available" and "errCode" would be 0 if the read simply timed out. * * @param cls closure * @param buf pointer to received data diff --git a/src/util/network.c b/src/util/network.c index 674000d8e..cb8542329 100644 --- a/src/util/network.c +++ b/src/util/network.c @@ -40,7 +40,7 @@ #include "gnunet_network_lib.h" #include "gnunet_scheduler_lib.h" -#define DEBUG_NETWORK GNUNET_YES +#define DEBUG_NETWORK GNUNET_NO /** * List of address families to give as hints to @@ -1237,7 +1237,8 @@ GNUNET_NETWORK_notify_transmit_ready (struct GNUNET_NETWORK_SocketHandle { #if DEBUG_NETWORK GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Transmission request fails, connection failed.\n"); + "Transmission request of size %u fails, connection failed.\n", + size); #endif notify (notify_cls, 0, NULL); return &sock->nth; -- 2.25.1