aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index 9b60aea5c..e5080c046 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -949,7 +949,6 @@ fragment_transmission_done (void *cls,
949 949
950 fm->sh = NULL; 950 fm->sh = NULL;
951 GNUNET_FRAGMENT_context_transmission_done (fm->fragcontext); 951 GNUNET_FRAGMENT_context_transmission_done (fm->fragcontext);
952 fm->fragcontext = NULL;
953} 952}
954 953
955 954
@@ -1007,7 +1006,6 @@ transmit_fragment (void *cls,
1007 else 1006 else
1008 { 1007 {
1009 GNUNET_FRAGMENT_context_transmission_done (fm->fragcontext); 1008 GNUNET_FRAGMENT_context_transmission_done (fm->fragcontext);
1010 fm->fragcontext = NULL;
1011 } 1009 }
1012 GNUNET_STATISTICS_update (endpoint->plugin->env->stats, 1010 GNUNET_STATISTICS_update (endpoint->plugin->env->stats,
1013 "# bytes currently in buffers", 1011 "# bytes currently in buffers",
@@ -1050,6 +1048,7 @@ free_fragment_message (struct FragmentMessage *fm)
1050 GNUNET_FRAGMENT_context_destroy (fm->fragcontext, 1048 GNUNET_FRAGMENT_context_destroy (fm->fragcontext,
1051 &endpoint->msg_delay, 1049 &endpoint->msg_delay,
1052 &endpoint->ack_delay); 1050 &endpoint->ack_delay);
1051 fm->fragcontext = NULL;
1053 } 1052 }
1054 if (NULL != fm->timeout_task) 1053 if (NULL != fm->timeout_task)
1055 { 1054 {