aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-19 12:22:30 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-19 12:22:30 +0000
commitfa17e0a271f2e8a51017dc35756dab1254cf4b0a (patch)
treeb965992814c7629323cc465c381b02479a6eec95
parent4d715e1d0fd982531fe45c8b6517115f4c4bfbc1 (diff)
downloadgnunet-fa17e0a271f2e8a51017dc35756dab1254cf4b0a.tar.gz
gnunet-fa17e0a271f2e8a51017dc35756dab1254cf4b0a.zip
dgbg
-rw-r--r--src/util/client.c2
-rw-r--r--src/util/network.c5
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)
210 210
211/** 211/**
212 * Callback function for data received from the network. Note that 212 * Callback function for data received from the network. Note that
213 * both "available" and "err" would be 0 if the read simply timed out. 213 * both "available" and "errCode" would be 0 if the read simply timed out.
214 * 214 *
215 * @param cls closure 215 * @param cls closure
216 * @param buf pointer to received data 216 * @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 @@
40#include "gnunet_network_lib.h" 40#include "gnunet_network_lib.h"
41#include "gnunet_scheduler_lib.h" 41#include "gnunet_scheduler_lib.h"
42 42
43#define DEBUG_NETWORK GNUNET_YES 43#define DEBUG_NETWORK GNUNET_NO
44 44
45/** 45/**
46 * List of address families to give as hints to 46 * List of address families to give as hints to
@@ -1237,7 +1237,8 @@ GNUNET_NETWORK_notify_transmit_ready (struct GNUNET_NETWORK_SocketHandle
1237 { 1237 {
1238#if DEBUG_NETWORK 1238#if DEBUG_NETWORK
1239 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1239 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1240 "Transmission request fails, connection failed.\n"); 1240 "Transmission request of size %u fails, connection failed.\n",
1241 size);
1241#endif 1242#endif
1242 notify (notify_cls, 0, NULL); 1243 notify (notify_cls, 0, NULL);
1243 return &sock->nth; 1244 return &sock->nth;