diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/fs/gnunet-service-fs_indexing.c | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.c')
-rw-r--r-- | src/fs/gnunet-service-fs_indexing.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index 5978e4d66..41a40e125 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -538,13 +538,12 @@ GNUNET_FS_handle_on_demand_block (const GNUNET_HashCode * key, uint32_t size, | |||
538 | odb = (const struct OnDemandBlock *) data; | 538 | odb = (const struct OnDemandBlock *) data; |
539 | off = GNUNET_ntohll (odb->offset); | 539 | off = GNUNET_ntohll (odb->offset); |
540 | fn = (const char *) GNUNET_CONTAINER_multihashmap_get (ifm, &odb->file_id); | 540 | fn = (const char *) GNUNET_CONTAINER_multihashmap_get (ifm, &odb->file_id); |
541 | if ( (NULL == fn) || | 541 | if ((NULL == fn) || (0 != ACCESS (fn, R_OK))) |
542 | (0 != ACCESS (fn, R_OK)) ) | ||
543 | { | 542 | { |
544 | GNUNET_STATISTICS_update (GSF_stats, | 543 | GNUNET_STATISTICS_update (GSF_stats, |
545 | gettext_noop ("# index blocks removed: original file inaccessible"), | 544 | gettext_noop |
546 | 1, | 545 | ("# index blocks removed: original file inaccessible"), |
547 | GNUNET_YES); | 546 | 1, GNUNET_YES); |
548 | GNUNET_DATASTORE_remove (dsh, key, size, data, -1, -1, | 547 | GNUNET_DATASTORE_remove (dsh, key, size, data, -1, -1, |
549 | GNUNET_TIME_UNIT_FOREVER_REL, &remove_cont, NULL); | 548 | GNUNET_TIME_UNIT_FOREVER_REL, &remove_cont, NULL); |
550 | return GNUNET_SYSERR; | 549 | return GNUNET_SYSERR; |