summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-05-12 14:08:33 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-05-12 14:08:33 +0000
commita8e195fefb3456373dd5b5001c49d373d74d0fbc (patch)
tree711aa8ada35d29a90efde80d765fd507d1b94822 /src
parent0fec4eac5b2f2d56dab1e22ef63d29181009b701 (diff)
Fixed build
Diffstat (limited to 'src')
-rw-r--r--src/htscache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htscache.c b/src/htscache.c
index 9e0dae8..fc18852 100644
--- a/src/htscache.c
+++ b/src/htscache.c
@@ -823,7 +823,7 @@ static htsblk cache_readex_new(httrackp* opt,cache_back* cache,const char* adr,c
fclose(r.out);
r.out=NULL;
#ifndef _WIN32
- chmod(save,HTS_ACCESS_FILE);
+ chmod(target_save, HTS_ACCESS_FILE);
#endif
} else {
r.statuscode=STATUSCODE_INVALID;