summaryrefslogtreecommitdiff
path: root/content/fetchers/file.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-25 23:00:22 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-25 23:01:32 +0000
commit8ce0a10670e655d9e3a4f31fedd34baf1a3189b9 (patch)
treec1aa73bf937d097a6d2cb7efe3777cb6c720e7f7 /content/fetchers/file.c
parent46b8fbaeac4dd1e35945ae1338056156e5b3b86b (diff)
downloadnetsurf-8ce0a10670e655d9e3a4f31fedd34baf1a3189b9.tar.gz
netsurf-8ce0a10670e655d9e3a4f31fedd34baf1a3189b9.tar.bz2
move path_to_url and url_to_path to fetch operation table
Diffstat (limited to 'content/fetchers/file.c')
-rw-r--r--content/fetchers/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/fetchers/file.c b/content/fetchers/file.c
index 7b93ab172..00d5cc5f1 100644
--- a/content/fetchers/file.c
+++ b/content/fetchers/file.c
@@ -142,7 +142,7 @@ fetch_file_setup(struct fetch *fetchh,
if (ctx == NULL)
return NULL;
- ctx->path = url_to_path(nsurl_access(url));
+ ctx->path = guit->fetch->url_to_path(nsurl_access(url));
if (ctx->path == NULL) {
free(ctx);
return NULL;
@@ -600,7 +600,7 @@ static void fetch_file_process_dir(struct fetch_file_context *ctx,
}
}
- if((path = path_to_url(urlpath)) == NULL)
+ if((path = guit->fetch->path_to_url(urlpath)) == NULL)
continue;
if (S_ISREG(ent_stat.st_mode)) {