From dc6e9887c24209d0e3dfb6cfb30fbde6ae3b47e9 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Tue, 16 Jun 2009 20:13:13 +0000 Subject: GNUNET_IO_handle => GNUNET_DISK_handle --- src/util/container_bloomfilter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util/container_bloomfilter.c') diff --git a/src/util/container_bloomfilter.c b/src/util/container_bloomfilter.c index 37780cb2a..e5a0955c4 100644 --- a/src/util/container_bloomfilter.c +++ b/src/util/container_bloomfilter.c @@ -151,7 +151,7 @@ incrementBit (char *bitArray, unsigned int bitIdx, const struct GNUNET_IO_Handle unsigned int targetLoc; setBit (bitArray, bitIdx); - if (GNUNET_IO_handle_invalid (fh)) + if (GNUNET_DISK_handle_invalid (fh)) return; /* Update the counter file on disk */ fileSlot = bitIdx / 2; @@ -195,7 +195,7 @@ decrementBit (char *bitArray, unsigned int bitIdx, const struct GNUNET_IO_Handle unsigned int low; unsigned int targetLoc; - if (GNUNET_IO_handle_invalid (fh)) + if (GNUNET_DISK_handle_invalid (fh)) return; /* cannot decrement! */ /* Each char slot in the counter file holds two 4 bit counters */ fileSlot = bitIdx / 2; @@ -246,7 +246,7 @@ makeEmptyFile (const struct GNUNET_IO_Handle *fh, unsigned int size) unsigned int bytesleft = size; int res = 0; - if (GNUNET_IO_handle_invalid (fh)) + if (GNUNET_DISK_handle_invalid (fh)) return GNUNET_SYSERR; buffer = GNUNET_malloc (BUFFSIZE); memset (buffer, 0, BUFFSIZE); -- cgit v1.2.3