- fix unreliable traffic
authorBart Polot <bart@net.in.tum.de>
Mon, 8 Jul 2013 11:37:29 +0000 (11:37 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 8 Jul 2013 11:37:29 +0000 (11:37 +0000)
src/mesh/gnunet-service-mesh.c

index 465c8912d0c5773d7d7a0b79ab8fd6e7741bb104..dd65251a98c33c6e1083e846541a0ff875bd2b4b 100644 (file)
@@ -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,