summaryrefslogtreecommitdiff
path: root/net/libfetch/files/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/libfetch/files/file.c')
-rw-r--r--net/libfetch/files/file.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/libfetch/files/file.c b/net/libfetch/files/file.c
index 7b730d4bea0..19aa5493e66 100644
--- a/net/libfetch/files/file.c
+++ b/net/libfetch/files/file.c
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.10 2008/04/24 10:24:04 joerg Exp $ */
+/* $NetBSD: file.c,v 1.11 2008/04/25 16:25:25 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>
@@ -74,7 +74,7 @@ fetchXGetFile(struct url *u, struct url_stat *us, const char *flags)
fetchIO *f;
int fd, *cookie;
- if ((path = fetch_unquote_doc(u)) == NULL) {
+ if ((path = fetchUnquotePath(u)) == NULL) {
fetch_syserr();
return NULL;
}
@@ -126,7 +126,7 @@ fetchPutFile(struct url *u, const char *flags)
fetchIO *f;
int fd, *cookie;
- if ((path = fetch_unquote_doc(u)) == NULL) {
+ if ((path = fetchUnquotePath(u)) == NULL) {
fetch_syserr();
return NULL;
}
@@ -188,7 +188,7 @@ fetchStatFile(struct url *u, struct url_stat *us, const char *flags)
char *path;
int fd, rv;
- if ((path = fetch_unquote_doc(u)) == NULL) {
+ if ((path = fetchUnquotePath(u)) == NULL) {
fetch_syserr();
return -1;
}
@@ -214,7 +214,7 @@ fetchListFile(struct url_list *ue, struct url *u, const char *pattern, const cha
struct dirent *de;
DIR *dir;
- if ((path = fetch_unquote_doc(u)) == NULL) {
+ if ((path = fetchUnquotePath(u)) == NULL) {
fetch_syserr();
return -1;
}