gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r21422 - gnunet/src/transport
Date: Thu, 10 May 2012 18:46:00 +0200

Author: wachs
Date: 2012-05-10 18:45:59 +0200 (Thu, 10 May 2012)
New Revision: 21422

Modified:
   gnunet/src/transport/plugin_transport_udp.c
Log:
- fix crash


Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-05-10 16:26:02 UTC (rev 
21421)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-05-10 16:45:59 UTC (rev 
21422)
@@ -544,7 +544,7 @@
 call_continuation (struct UDPMessageWrapper *udpw, int result)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
-      "Calling for %u byte message to `%s' continuation with result %s\n",
+      "Calling continuation for %u byte message to `%s' with result %s\n",
       udpw->msg_size, GNUNET_i2s (&udpw->session->target),
       (GNUNET_OK == result) ? "OK" : "SYSERR");
   if (NULL != udpw->cont)
@@ -1602,11 +1602,11 @@
 
   if (s->frag_ctx->cont != NULL)
   {
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+        "Calling continuation for fragmented message to `%s' with result %s\n",
+        GNUNET_i2s (&s->target), "OK");
     s->frag_ctx->cont (s->frag_ctx->cont_cls, &udp_ack->sender, GNUNET_OK);
     cont_calls --;
-    GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-        "Calling continuation for %u byte fragemented message to `%s' with 
result %s\n",
-        udpw->msg_size, GNUNET_i2s (&udpw->session->target), GNUNET_OK);
   }
 
   GNUNET_free (s->frag_ctx);




reply via email to

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