aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_hash.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-07-07 20:05:38 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2009-07-07 20:05:38 +0000
commite69f3dbbe9e9f750d7d3048b13ef454fbe527ed5 (patch)
tree58792ca0ea4ca6c461d0ffea8634b7dcf9f3fc90 /src/util/crypto_hash.c
parentd5fdcbb69d5cd320a47dae2396bd7bdded4dcf36 (diff)
cleaning up disk api
git-svn-id: https://gnunet.org/svn/gnunet@8632 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/util/crypto_hash.c')
-rw-r--r--src/util/crypto_hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_hash.c b/src/util/crypto_hash.c
index 0d8cdeb5cc..8df4cc8f47 100644
--- a/src/util/crypto_hash.c
+++ b/src/util/crypto_hash.c
@@ -429,7 +429,7 @@ struct FileHashContext
/**
* File descriptor.
*/
- struct GNUNET_IO_Handle *fh;
+ struct GNUNET_DISK_FileHandle *fh;
};
@@ -444,7 +444,7 @@ file_hash_finish (struct FileHashContext *fhc, const GNUNET_HashCode * res)
fhc->callback (fhc->callback_cls, res);
GNUNET_free (fhc->filename);
if (!GNUNET_DISK_handle_invalid (fhc->fh))
- GNUNET_break (GNUNET_OK == GNUNET_DISK_file_close (&fhc->fh));
+ GNUNET_break (GNUNET_OK == GNUNET_DISK_file_close (fhc->fh));
GNUNET_free (fhc); /* also frees fhc->buffer */
}