[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11502 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11502 - gnunet/src/transport |
Date: |
Tue, 25 May 2010 17:51:40 +0200 |
Author: grothoff
Date: 2010-05-25 17:51:40 +0200 (Tue, 25 May 2010)
New Revision: 11502
Modified:
gnunet/src/transport/transport_api.c
Log:
better messages
Modified: gnunet/src/transport/transport_api.c
===================================================================
--- gnunet/src/transport/transport_api.c 2010-05-25 15:50:40 UTC (rev
11501)
+++ gnunet/src/transport/transport_api.c 2010-05-25 15:51:40 UTC (rev
11502)
@@ -648,7 +648,7 @@
if (h->client == NULL)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Could not yet schedule transmission: we are not yet
connected to the transport service!\n");
+ _("Could not yet schedule transmission: we are not yet
connected to the transport service!\n"));
return; /* not yet connected */
}
if (NULL != h->control_head)
@@ -662,6 +662,10 @@
if (th == NULL)
{
/* no transmission ready right now */
+#if DEBUG_TRANSPORT
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Could not yet schedule transmission: none ready\n");
+#endif
return;
}
size = th->notify_size;
@@ -1704,7 +1708,12 @@
if (n == NULL)
n = neighbour_add (handle, target);
if (n == NULL)
- return NULL;
+ {
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Could not create neighbour entry for peer `%s'\n",
+ GNUNET_i2s (target));
+ return NULL;
+ }
switch (n->transmit_stage)
{
case TS_NEW:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11502 - gnunet/src/transport,
gnunet <=