diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh_channel.c')
-rw-r--r-- | src/mesh/gnunet-service-mesh_channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh_channel.c b/src/mesh/gnunet-service-mesh_channel.c index bd1e64136..b02da1aba 100644 --- a/src/mesh/gnunet-service-mesh_channel.c +++ b/src/mesh/gnunet-service-mesh_channel.c | |||
@@ -1256,10 +1256,10 @@ GMCH_handle_local_data (struct MeshChannel *ch, | |||
1256 | payload->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_DATA); | 1256 | payload->header.type = htons (GNUNET_MESSAGE_TYPE_MESH_DATA); |
1257 | payload->chid = htonl (ch->gid); | 1257 | payload->chid = htonl (ch->gid); |
1258 | LOG (GNUNET_ERROR_TYPE_DEBUG, " sending on channel...\n"); | 1258 | LOG (GNUNET_ERROR_TYPE_DEBUG, " sending on channel...\n"); |
1259 | GMCH_send_prebuilt_message (&payload->header, ch, fwd); | ||
1260 | |||
1261 | if (GNUNET_YES == ch->reliable) | 1259 | if (GNUNET_YES == ch->reliable) |
1262 | channel_save_copy (ch, &payload->header, fwd); | 1260 | channel_save_copy (ch, &payload->header, fwd); |
1261 | GMCH_send_prebuilt_message (&payload->header, ch, fwd); | ||
1262 | |||
1263 | if (GMT_get_buffer (ch->t, fwd) > 0) | 1263 | if (GMT_get_buffer (ch->t, fwd) > 0) |
1264 | { | 1264 | { |
1265 | send_client_ack (ch, fwd); | 1265 | send_client_ack (ch, fwd); |