From: Bart Polot Date: Fri, 10 Jan 2014 04:07:14 +0000 (+0000) Subject: - don't resend create messages for channels being destroyed X-Git-Tag: initial-import-from-subversion-38251~5078 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9858568a135dd5fd72dcc25a6cf55ceb672035a5;p=oweals%2Fgnunet.git - don't resend create messages for channels being destroyed --- diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index cb5a27973..06cf599d4 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c @@ -780,7 +780,8 @@ ch_message_sent (void *cls, rel->uniq = NULL; if (MESH_CHANNEL_READY != rel->ch->state - && GNUNET_MESSAGE_TYPE_MESH_DATA_ACK != type) + && GNUNET_MESSAGE_TYPE_MESH_DATA_ACK != type + && GNUNET_NO == rel->ch->destroy) { GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == rel->retry_task); LOG (GNUNET_ERROR_TYPE_DEBUG, "!!! STD BACKOFF %s\n",