gnunet-fuse

GNUnet file-sharing directory mounting via FUSE
Log | Files | Refs | Submodules | README | LICENSE

commit 0f55c244d04bf49579ef6c4ec2676cf32c0c0b1b
parent 0cda35edf4a02e346f751c169e4fec311c4692cd
Author: David Barksdale <amatus.amongus@gmail.com>
Date:   Sun, 15 Jul 2007 20:04:56 +0000

Fixed calls to ECRS_downloadPartialFile

Diffstat:
Mdirectory.c | 2+-
Mread.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/directory.c b/directory.c @@ -122,7 +122,7 @@ static int directory_cache_locked(struct dirent *de) len = ECRS_fileSize(de->de_fi.uri); mem = MALLOC(len); ret = ECRS_downloadPartialFile(ectx, cfg, de->de_fi.uri, - "/dev/null", anonymity, 0, len, YES, dpcb, mem, tt, + "/dev/null", 0, len, anonymity, YES, dpcb, mem, tt, NULL); if(ret != OK) { diff --git a/read.c b/read.c @@ -160,7 +160,7 @@ int gn_read(const char *path, char *buf, size_t size, off_t offset, "%s: calling ECRS_downloadPartialFile %u bytes %lld offset\n", __FUNCTION__, size, offset); ret = ECRS_downloadPartialFile(ectx, cfg, de->de_fi.uri, "/dev/null", - anonymity, offset, size, YES, dpcb, &d, tt, NULL); + offset, size, anonymity, YES, dpcb, &d, tt, NULL); GE_LOG(ectx, GE_BULK | GE_DEVELOPER | GE_DEBUG, "%s: ECRS_downloadPartialFile returned %d\n", __FUNCTION__, ret);