-fix, handle case where there is no update
[oweals/gnunet.git] / src / fs / gnunet-service-fs_mesh_client.c
index 5c3290d5ace2f91e71777762fc04909fe546350d..d315098578551331374678b5f8fe459f4129bf24 100644 (file)
@@ -224,7 +224,7 @@ reset_mesh (struct MeshHandle *mh)
                                          mh,
                                          &mh->target,
                                          GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER,
-                                         GNUNET_YES,
+                                         GNUNET_NO,
                                          GNUNET_YES);
   transmit_pending (mh);
 }
@@ -528,7 +528,7 @@ get_mesh (const struct GNUNET_PeerIdentity *target)
                                          mh,
                                          &mh->target,
                                          GNUNET_APPLICATION_TYPE_FS_BLOCK_TRANSFER,
-                                         GNUNET_YES,
+                                         GNUNET_NO,
                                          GNUNET_YES);
   GNUNET_assert (GNUNET_OK ==
                 GNUNET_CONTAINER_multihashmap_put (mesh_map,