From: Bart Polot Date: Mon, 8 Jul 2013 11:37:29 +0000 (+0000) Subject: - fix unreliable traffic X-Git-Tag: initial-import-from-subversion-38251~8498 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1ba74a7563b993e5725bb42d8ea88231cbdf18e8;p=oweals%2Fgnunet.git - fix unreliable traffic --- diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 465c8912d..dd65251a9 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -4544,7 +4544,8 @@ handle_local_unicast (void *cls, struct GNUNET_SERVER_Client *client, copy->retry_task = GNUNET_SCHEDULER_add_delayed (copy->retry_timer, &tunnel_retransmit_message, copy); - if (GNUNET_OK != + if (GNUNET_YES == t->reliable && + GNUNET_OK != GNUNET_CONTAINER_multihashmap32_put (t->sent_messages_fwd, copy->id, copy,