aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-05-10 16:45:59 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-05-10 16:45:59 +0000
commit314e10631994efa09e92cf8944c9a1854be4db37 (patch)
tree07904c8e4154e4befdda353a16aaf8faef6b5158 /src
parent1659136207e13ab67ceb4410d3553706ee7878ca (diff)
downloadgnunet-314e10631994efa09e92cf8944c9a1854be4db37.tar.gz
gnunet-314e10631994efa09e92cf8944c9a1854be4db37.zip
- fix crash
Diffstat (limited to 'src')
-rw-r--r--src/transport/plugin_transport_udp.c8
1 files 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
544call_continuation (struct UDPMessageWrapper *udpw, int result) 544call_continuation (struct UDPMessageWrapper *udpw, int result)
545{ 545{
546 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 546 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
547 "Calling for %u byte message to `%s' continuation with result %s\n", 547 "Calling continuation for %u byte message to `%s' with result %s\n",
548 udpw->msg_size, GNUNET_i2s (&udpw->session->target), 548 udpw->msg_size, GNUNET_i2s (&udpw->session->target),
549 (GNUNET_OK == result) ? "OK" : "SYSERR"); 549 (GNUNET_OK == result) ? "OK" : "SYSERR");
550 if (NULL != udpw->cont) 550 if (NULL != udpw->cont)
@@ -1602,11 +1602,11 @@ static void read_process_ack (struct Plugin *plugin,
1602 1602
1603 if (s->frag_ctx->cont != NULL) 1603 if (s->frag_ctx->cont != NULL)
1604 { 1604 {
1605 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1606 "Calling continuation for fragmented message to `%s' with result %s\n",
1607 GNUNET_i2s (&s->target), "OK");
1605 s->frag_ctx->cont (s->frag_ctx->cont_cls, &udp_ack->sender, GNUNET_OK); 1608 s->frag_ctx->cont (s->frag_ctx->cont_cls, &udp_ack->sender, GNUNET_OK);
1606 cont_calls --; 1609 cont_calls --;
1607 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
1608 "Calling continuation for %u byte fragemented message to `%s' with result %s\n",
1609 udpw->msg_size, GNUNET_i2s (&udpw->session->target), GNUNET_OK);
1610 } 1610 }
1611 1611
1612 GNUNET_free (s->frag_ctx); 1612 GNUNET_free (s->frag_ctx);