diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-03 20:00:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-03 20:00:42 +0000 |
commit | e8f35bb025c25839a52fb502e452393831e4e6f0 (patch) | |
tree | 7a056253bddc61b1e6a3258567e176af128c2b67 /src/fs/gnunet-service-fs_push.c | |
parent | 9f871785d57da57ba128ac2279fda1db1d9b8bfb (diff) | |
download | gnunet-e8f35bb025c25839a52fb502e452393831e4e6f0.tar.gz gnunet-e8f35bb025c25839a52fb502e452393831e4e6f0.zip |
improving datastore API --- not working yet
Diffstat (limited to 'src/fs/gnunet-service-fs_push.c')
-rw-r--r-- | src/fs/gnunet-service-fs_push.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index 094489273..c08b57020 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -507,7 +507,7 @@ process_migration_content (void *cls, | |||
507 | MIN_MIGRATION_CONTENT_LIFETIME.rel_value) | 507 | MIN_MIGRATION_CONTENT_LIFETIME.rel_value) |
508 | { | 508 | { |
509 | /* content will expire soon, don't bother */ | 509 | /* content will expire soon, don't bother */ |
510 | GNUNET_DATASTORE_get_next (GSF_dsh); | 510 | GNUNET_DATASTORE_iterate_get_next (GSF_dsh); |
511 | return; | 511 | return; |
512 | } | 512 | } |
513 | if (type == GNUNET_BLOCK_TYPE_FS_ONDEMAND) | 513 | if (type == GNUNET_BLOCK_TYPE_FS_ONDEMAND) |
@@ -519,7 +519,7 @@ process_migration_content (void *cls, | |||
519 | &process_migration_content, | 519 | &process_migration_content, |
520 | NULL)) | 520 | NULL)) |
521 | { | 521 | { |
522 | GNUNET_DATASTORE_get_next (GSF_dsh); | 522 | GNUNET_DATASTORE_iterate_get_next (GSF_dsh); |
523 | } | 523 | } |
524 | return; | 524 | return; |
525 | } | 525 | } |
@@ -556,7 +556,7 @@ process_migration_content (void *cls, | |||
556 | } | 556 | } |
557 | pos = pos->next; | 557 | pos = pos->next; |
558 | } | 558 | } |
559 | GNUNET_DATASTORE_get_next (GSF_dsh); | 559 | GNUNET_DATASTORE_iterate_get_next (GSF_dsh); |
560 | } | 560 | } |
561 | 561 | ||
562 | 562 | ||