[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r24362 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r24362 - gnunet/src/transport |
Date: |
Wed, 17 Oct 2012 17:16:10 +0200 |
Author: wachs
Date: 2012-10-17 17:16:10 +0200 (Wed, 17 Oct 2012)
New Revision: 24362
Modified:
gnunet/src/transport/plugin_transport_udp.c
Log:
minors
Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-10-17 14:59:27 UTC (rev
24361)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-10-17 15:16:10 UTC (rev
24362)
@@ -1674,6 +1674,7 @@
delay);
udpw = GNUNET_malloc (sizeof (struct UDP_MessageWrapper) + msize);
udpw->msg_size = msize;
+ udpw->payload_size = 0;
udpw->session = s;
udpw->timeout = GNUNET_TIME_UNIT_FOREVER_ABS;
udpw->msg_buf = (char *)&udpw[1];
@@ -1806,7 +1807,6 @@
s->frag_ctx->on_wire_size -
s->frag_ctx->payload_size, GNUNET_NO);
}
-
if (s->frag_ctx->cont != NULL)
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
@@ -1981,7 +1981,7 @@
if (GNUNET_TIME_UNIT_ZERO.rel_value == remaining.rel_value)
{
/* Message timed out */
- call_continuation(udpw, GNUNET_SYSERR);
+ call_continuation (udpw, GNUNET_SYSERR);
if (NULL == udpw->frag_ctx)
{
/* Not fragmented message */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r24362 - gnunet/src/transport,
gnunet <=