summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/fopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/fopen.c')
-rw-r--r--libs/libcurl/src/fopen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/libcurl/src/fopen.c b/libs/libcurl/src/fopen.c
index d47b14d952..30489fcc30 100644
--- a/libs/libcurl/src/fopen.c
+++ b/libs/libcurl/src/fopen.c
@@ -66,7 +66,7 @@ static char *dirslash(const char *path)
size_t n;
struct dynbuf out;
DEBUGASSERT(path);
- Curl_dyn_init(&out, CURL_MAX_INPUT_LENGTH);
+ curlx_dyn_init(&out, CURL_MAX_INPUT_LENGTH);
n = strlen(path);
if(n) {
/* find the rightmost path separator, if any */
@@ -76,12 +76,12 @@ static char *dirslash(const char *path)
while(n && IS_SEP(path[n-1]))
--n;
}
- if(Curl_dyn_addn(&out, path, n))
+ if(curlx_dyn_addn(&out, path, n))
return NULL;
/* if there was a directory, append a single trailing slash */
- if(n && Curl_dyn_addn(&out, PATHSEP, 1))
+ if(n && curlx_dyn_addn(&out, PATHSEP, 1))
return NULL;
- return Curl_dyn_ptr(&out);
+ return curlx_dyn_ptr(&out);
}
/*