gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r20813 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r20813 - gnunet/src/transport
Date: Thu, 29 Mar 2012 17:04:31 +0200

Author: wachs
Date: 2012-03-29 17:04:31 +0200 (Thu, 29 Mar 2012)
New Revision: 20813

Modified:
   gnunet/src/transport/plugin_transport_udp.c
Log:
- udp error message


Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-03-29 14:04:31 UTC (rev 
20812)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-03-29 15:04:31 UTC (rev 
20813)
@@ -1773,16 +1773,15 @@
 
   if (GNUNET_SYSERR == sent)
   {
-    GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "sendto");
-    LOG (GNUNET_ERROR_TYPE_DEBUG,
-         "UDP transmitted %u-byte message to %s (%d: %s)\n",
-         (unsigned int) (udpw->msg_size), GNUNET_a2s (sa, slen), (int) sent,
-         (sent < 0) ? STRERROR (errno) : "ok");
+    LOG (GNUNET_ERROR_TYPE_ERROR,
+         "UDP could not transmit %u-byte message to `%s': `%s'\n",
+         (unsigned int) (udpw->msg_size), GNUNET_a2s (sa, slen),
+         STRERROR (errno));
     if (udpw->cont != NULL)
       udpw->cont (udpw->cont_cls, &udpw->session->target, GNUNET_SYSERR);
   }
   LOG (GNUNET_ERROR_TYPE_DEBUG,
-       "UDP transmitted %u-byte message to %s (%d: %s)\n",
+       "UDP transmitted %u-byte message to `%s' (%d: %s)\n",
        (unsigned int) (udpw->msg_size), GNUNET_a2s (sa, slen), (int) sent,
        (sent < 0) ? STRERROR (errno) : "ok");
 




reply via email to

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