diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-09-14 23:33:28 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-09-22 11:58:10 +0200 |
commit | 46e164069d1a5230e4e64cbd2ff46c46cce056bb (patch) | |
tree | 140ba8a3d265bfb33f7db446d2b7b24616b5f6b0 /lib/curl_path.c | |
parent | f078361c0e2539689df9962f35ab22f8ea25afe9 (diff) | |
download | curl-46e164069d1a5230e4e64cbd2ff46c46cce056bb.tar.gz |
url: use the URL API internally as well
... to make it a truly unified URL parser.
Closes #3017
Diffstat (limited to 'lib/curl_path.c')
-rw-r--r-- | lib/curl_path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_path.c b/lib/curl_path.c index e843deac7..68f3e44ba 100644 --- a/lib/curl_path.c +++ b/lib/curl_path.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -39,7 +39,7 @@ CURLcode Curl_getworkingpath(struct connectdata *conn, char *working_path; size_t working_path_len; CURLcode result = - Curl_urldecode(data, data->state.path, 0, &working_path, + Curl_urldecode(data, data->state.up.path, 0, &working_path, &working_path_len, FALSE); if(result) return result; |