From: Ralph Ronnquist Date: Sat, 19 Aug 2023 08:11:59 +0000 (+1000) Subject: bug fix for trailing slash variant X-Git-Tag: 1.2 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=5816fd9d623c2ed8b411a102ae9fb263e9862a08;p=rrq%2Ffusefile.git bug fix for trailing slash variant --- diff --git a/fusefile.c b/fusefile.c index c8964f4..b406ce3 100644 --- a/fusefile.c +++ b/fusefile.c @@ -329,7 +329,7 @@ static int setup_source(struct Source *p,char *frag) { perror( p->filename ); return 1; // Error return } - if ( ( range == 0 ) && stat( p->filename, &filestat ) ) { + if ( ( range != 0 ) && stat( p->filename, &filestat ) ) { perror( p->filename ); return 1; }