[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15393 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15393 - gnunet/src/util |
Date: |
Wed, 1 Jun 2011 18:11:22 +0200 |
Author: grothoff
Date: 2011-06-01 18:11:22 +0200 (Wed, 01 Jun 2011)
New Revision: 15393
Modified:
gnunet/src/util/client.c
gnunet/src/util/connection.c
Log:
dmsg
Modified: gnunet/src/util/client.c
===================================================================
--- gnunet/src/util/client.c 2011-06-01 16:08:44 UTC (rev 15392)
+++ gnunet/src/util/client.c 2011-06-01 16:11:22 UTC (rev 15393)
@@ -831,6 +831,10 @@
return 0;
}
/* auto-retry */
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Failed to connect to `%s', automatically trying again.\n",
+ th->sock->service_name);
+
GNUNET_CONNECTION_destroy (th->sock->sock, GNUNET_NO);
th->sock->sock = do_connect (th->sock->service_name,
th->sock->cfg,
@@ -964,7 +968,7 @@
msize = ntohs (tc->hdr->size);
if (NULL == buf)
{
-#if DEBUG_CLIENT
+#if DEBUG_CLIENT
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
_("Could not submit request, not expecting to receive a
response.\n"));
#endif
Modified: gnunet/src/util/connection.c
===================================================================
--- gnunet/src/util/connection.c 2011-06-01 16:08:44 UTC (rev 15392)
+++ gnunet/src/util/connection.c 2011-06-01 16:11:22 UTC (rev 15393)
@@ -1421,8 +1421,9 @@
GNUNET_CONNECTION_TransmitReadyNotify notify;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Transmission request of size %u fails (%s/%u), connection
failed (%p).\n",
+ "Transmission request of size %u fails (%d/%s/%u), connection
failed (%p).\n",
sock->nth.notify_size,
+ (sock->sock != NULL) ? *(int*) sock->sock : -1,
sock->hostname,
sock->port,
sock);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15393 - gnunet/src/util,
gnunet <=