diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-26 21:57:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-26 21:57:41 +0000 |
commit | 16ecacc41c1238bb327969a09778c25059ea7304 (patch) | |
tree | 26c21d324fc304125b4fa527019f1d58fa63d1a8 /src/transport/plugin_transport_wlan.c | |
parent | b1970ab977139ccc00cdc05c6df3f20b676e56ea (diff) | |
download | gnunet-16ecacc41c1238bb327969a09778c25059ea7304.tar.gz gnunet-16ecacc41c1238bb327969a09778c25059ea7304.zip |
-fc not done here, do not null
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 3 |
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 | { |