diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-10-15 12:51:58 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-10-15 12:51:58 +0000 |
commit | e492c677596668d41d865a5758a81ea53ca78eac (patch) | |
tree | 173de182023f90c185b73b28bdd4164242f085d1 /src/mesh | |
parent | 803bc8e9de18e21bfbea9472a43c38f4da7f6428 (diff) | |
download | gnunet-e492c677596668d41d865a5758a81ea53ca78eac.tar.gz gnunet-e492c677596668d41d865a5758a81ea53ca78eac.zip |
- wrong flag...
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index 7ee125020..bd1e64136 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c | |||
@@ -464,11 +464,8 @@ send_client_ack (struct MeshChannel *ch, int fwd) | |||
464 | GNUNET_break (0); | 464 | GNUNET_break (0); |
465 | return; | 465 | return; |
466 | } | 466 | } |
467 | if (GNUNET_YES == rel->client_ready) | ||
468 | return; | ||
469 | 467 | ||
470 | GML_send_ack (fwd ? ch->root : ch->dest, fwd ? ch->lid_root : ch->lid_dest); | 468 | GML_send_ack (fwd ? ch->root : ch->dest, fwd ? ch->lid_root : ch->lid_dest); |
471 | rel->client_ready = GNUNET_YES; | ||
472 | } | 469 | } |
473 | 470 | ||
474 | 471 | ||
@@ -724,6 +721,7 @@ channel_confirm (struct MeshChannel *ch, int fwd) | |||
724 | ch->state = MESH_CHANNEL_READY; | 721 | ch->state = MESH_CHANNEL_READY; |
725 | 722 | ||
726 | rel = fwd ? ch->root_rel : ch->dest_rel; | 723 | rel = fwd ? ch->root_rel : ch->dest_rel; |
724 | rel->client_ready = GNUNET_YES; | ||
727 | for (copy = rel->head_sent; NULL != copy; copy = next) | 725 | for (copy = rel->head_sent; NULL != copy; copy = next) |
728 | { | 726 | { |
729 | struct GNUNET_MessageHeader *msg; | 727 | struct GNUNET_MessageHeader *msg; |