aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs_push.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-03 13:47:56 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-03 13:47:56 +0000
commit8c23a185ee8d3c16c5552668dced851f82986041 (patch)
tree83f59d2190ffadcdc5643ba36578b2c6766b0e42 /src/fs/gnunet-service-fs_push.c
parent1888cd7da7ae5e2c32faf66d3bef47ac7d225b35 (diff)
downloadgnunet-8c23a185ee8d3c16c5552668dced851f82986041.tar.gz
gnunet-8c23a185ee8d3c16c5552668dced851f82986041.zip
changing datastore API to support replication level --- not fully implemented --- and adding GNUNET_FS_BlockOptions struct to replace prio/anonymity/expiration+replication args
Diffstat (limited to 'src/fs/gnunet-service-fs_push.c')
-rw-r--r--src/fs/gnunet-service-fs_push.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c
index 38d916832..094489273 100644
--- a/src/fs/gnunet-service-fs_push.c
+++ b/src/fs/gnunet-service-fs_push.c
@@ -576,10 +576,10 @@ gather_migration_blocks (void *cls,
576 return; 576 return;
577 if (GSF_dsh != NULL) 577 if (GSF_dsh != NULL)
578 { 578 {
579 mig_qe = GNUNET_DATASTORE_get_random (GSF_dsh, 579 mig_qe = GNUNET_DATASTORE_get_for_replication (GSF_dsh,
580 0, UINT_MAX, 580 0, UINT_MAX,
581 GNUNET_TIME_UNIT_FOREVER_REL, 581 GNUNET_TIME_UNIT_FOREVER_REL,
582 &process_migration_content, NULL); 582 &process_migration_content, NULL);
583 GNUNET_assert (mig_qe != NULL); 583 GNUNET_assert (mig_qe != NULL);
584 } 584 }
585} 585}