gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r20816 - gnunet/src/transport
Date: Fri, 30 Mar 2012 14:27:50 +0200

Author: wachs
Date: 2012-03-30 14:27:50 +0200 (Fri, 30 Mar 2012)
New Revision: 20816

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


Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-03-30 10:05:03 UTC (rev 
20815)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-03-30 12:27:50 UTC (rev 
20816)
@@ -1760,7 +1760,6 @@
         udpw = udpw->next;
       }
     }
-
   }
 
   if (udpw == NULL)
@@ -1780,11 +1779,13 @@
     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",
-       (unsigned int) (udpw->msg_size), GNUNET_a2s (sa, slen), (int) sent,
-       (sent < 0) ? STRERROR (errno) : "ok");
-
+  else
+  {
+    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");
+  }
   /* This was just a message fragment */
   if (udpw->frag_ctx != NULL)
   {




reply via email to

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