dgbg
authorChristian Grothoff <christian@grothoff.org>
Sun, 19 Jul 2009 12:22:30 +0000 (12:22 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 19 Jul 2009 12:22:30 +0000 (12:22 +0000)
src/util/client.c
src/util/network.c

index f0322ffa5fae187562627abadc8991dcfde0a27a..487f3f8e8b1e1fe58c66a6657c76d0bac34ddd20 100644 (file)
@@ -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
index 674000d8e3ab957899b89890bb412aeae07e1219..cb85423297fc1fe30424167982c248bc95774b85 100644 (file)
@@ -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;