From 314e10631994efa09e92cf8944c9a1854be4db37 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 10 May 2012 16:45:59 +0000 Subject: [PATCH] - fix crash --- src/transport/plugin_transport_udp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 2f72e1152..073773288 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -544,7 +544,7 @@ static void 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 @@ static void read_process_ack (struct Plugin *plugin, 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); -- 2.25.1