aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-24 12:42:31 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-24 12:42:31 +0000
commit04c70ae654c7d4192dab67dc2595c98a9a896e48 (patch)
tree11ec566c7ed78249f70e1ff14f96f394c4507eae /src/transport/plugin_transport_udp.c
parentb8b28112420a66000b49a4681ffbbe628b69120f (diff)
downloadgnunet-04c70ae654c7d4192dab67dc2595c98a9a896e48.tar.gz
gnunet-04c70ae654c7d4192dab67dc2595c98a9a896e48.zip
-fixes
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index aeca43e59..3c3e5b125 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -1000,11 +1000,12 @@ fragmented_message_done (struct UDP_FragmentationContext *fc, int result)
1000 struct UDP_MessageWrapper *tmp; 1000 struct UDP_MessageWrapper *tmp;
1001 struct UDP_MessageWrapper dummy; 1001 struct UDP_MessageWrapper dummy;
1002 struct Session *s = fc->session; 1002 struct Session *s = fc->session;
1003 LOG (GNUNET_ERROR_TYPE_DEBUG, "%p : Fragmented message removed with result %s\n", fc, (result == GNUNET_SYSERR) ? "FAIL" : "SUCCESS");
1004 1003
1004 LOG (GNUNET_ERROR_TYPE_DEBUG, "%p : Fragmented message removed with result %s\n", fc, (result == GNUNET_SYSERR) ? "FAIL" : "SUCCESS");
1005
1005 /* Call continuation for fragmented message */ 1006 /* Call continuation for fragmented message */
1007 memset (&dummy, 0, sizeof (dummy));
1006 dummy.msg_type = MSG_FRAGMENTED_COMPLETE; 1008 dummy.msg_type = MSG_FRAGMENTED_COMPLETE;
1007 dummy.msg_buf = NULL;
1008 dummy.msg_size = s->frag_ctx->on_wire_size; 1009 dummy.msg_size = s->frag_ctx->on_wire_size;
1009 dummy.payload_size = s->frag_ctx->payload_size; 1010 dummy.payload_size = s->frag_ctx->payload_size;
1010 dummy.frag_ctx = s->frag_ctx; 1011 dummy.frag_ctx = s->frag_ctx;