From: Christian Grothoff Date: Sat, 21 Jan 2017 23:02:09 +0000 (+0100) Subject: properly set executed tasks to NULL X-Git-Tag: taler-0.2.1~397 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8f51150a4f28fecd7f0997227c5c15edfe9dd02;p=oweals%2Fgnunet.git properly set executed tasks to NULL --- diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index a3ab07c3c..6f57538ac 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c @@ -439,6 +439,7 @@ send_channel_open (void *cls) struct GNUNET_CADET_ChannelOpenMessage msgcc; uint32_t options; + ch->retry_task = NULL; options = 0; if (ch->nobuffer) options |= GNUNET_CADET_OPTION_NOBUFFER; @@ -1045,6 +1046,7 @@ retry_transmission (void *cls) struct CadetChannel *ch = cls; struct CadetReliableMessage *crm = ch->head_sent; + ch->retry_task = NULL; GNUNET_assert (NULL == crm->qe); crm->qe = GCT_send (ch->t, &crm->data_message.header,