aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_hash.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-05 12:51:05 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-05 12:51:05 +0000
commitf811206714d9cef29580a1944a0ef55d7be4972a (patch)
tree1c09388397dd93f2006e8737f2b1f369bfe7923a /src/util/crypto_hash.c
parenta8594b108fb91bf69b56cc69fe918e12ef43357b (diff)
downloadgnunet-f811206714d9cef29580a1944a0ef55d7be4972a.tar.gz
gnunet-f811206714d9cef29580a1944a0ef55d7be4972a.zip
code clean up
Diffstat (limited to 'src/util/crypto_hash.c')
-rw-r--r--src/util/crypto_hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/crypto_hash.c b/src/util/crypto_hash.c
index ec2a79602..c3fb9a84c 100644
--- a/src/util/crypto_hash.c
+++ b/src/util/crypto_hash.c
@@ -523,7 +523,8 @@ GNUNET_CRYPTO_hash_file (struct GNUNET_SCHEDULER_Handle *sched,
523 } 523 }
524 fhc->run_on_shutdown = run_on_shutdown; 524 fhc->run_on_shutdown = run_on_shutdown;
525 fhc->fh = GNUNET_DISK_file_open (filename, 525 fhc->fh = GNUNET_DISK_file_open (filename,
526 GNUNET_DISK_OPEN_READ); 526 GNUNET_DISK_OPEN_READ,
527 GNUNET_DISK_PERM_NONE);
527 if (!fhc->fh) 528 if (!fhc->fh)
528 { 529 {
529 file_hash_finish (fhc, NULL); 530 file_hash_finish (fhc, NULL);