gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21834 - gnunet/src/core


From: gnunet
Subject: [GNUnet-SVN] r21834 - gnunet/src/core
Date: Sat, 9 Jun 2012 22:04:05 +0200

Author: grothoff
Date: 2012-06-09 22:04:05 +0200 (Sat, 09 Jun 2012)
New Revision: 21834

Modified:
   gnunet/src/core/core_api.c
Log:
-logging

Modified: gnunet/src/core/core_api.c
===================================================================
--- gnunet/src/core/core_api.c  2012-06-09 20:01:13 UTC (rev 21833)
+++ gnunet/src/core/core_api.c  2012-06-09 20:04:05 UTC (rev 21834)
@@ -554,8 +554,10 @@
     GNUNET_free (th->cm);
   }
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "Signalling timeout of request for transmission to CORE service\n");
+       "Signalling timeout of request for transmission to peer `%s' via 
CORE\n",
+       GNUNET_i2s (&pr->peer));
   trigger_next_request (h, GNUNET_NO);
+
   GNUNET_assert (0 == th->get_message (th->get_message_cls, 0, NULL));
 }
 
@@ -1283,6 +1285,10 @@
   struct GNUNET_CORE_TransmitHandle *th;
 
   GNUNET_assert (NULL != notify);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Asking core for transmission of %u bytes to `%s'\n",
+             (unsigned int) notify_size,
+             GNUNET_i2s (target));
   pr = GNUNET_CONTAINER_multihashmap_get (handle->peers, &target->hashPubKey);
   if (NULL == pr)
   {
@@ -1326,6 +1332,10 @@
   struct GNUNET_CORE_Handle *h;
 
   GNUNET_assert (NULL != pr);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Aborting transmission request to core for %u bytes to `%s'\n",
+             (unsigned int) th->msize,
+             GNUNET_i2s (&pr->peer));
   th->peer = NULL;
   h = pr->ch;
   if (NULL != th->cm)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]