From: Matthias Wachs Date: Thu, 29 Mar 2012 15:04:31 +0000 (+0000) Subject: - udp error message X-Git-Tag: initial-import-from-subversion-38251~14058 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e7a1358adfd0b6517a6da19864f23154d616383;p=oweals%2Fgnunet.git - udp error message --- diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 662ecffa1..4f422cfa0 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -1773,16 +1773,15 @@ udp_select_send (struct Plugin *plugin, struct GNUNET_NETWORK_Handle *sock) 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");