From c313524998377db92e5387d209e1ea79fbc30ba6 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 29 Jun 2016 23:06:53 +0100 Subject: reduce curl usage to fetcher, url unescaping and time parsing --- frontends/windows/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'frontends/windows/file.c') diff --git a/frontends/windows/file.c b/frontends/windows/file.c index 5c5b1f061..7583790e9 100644 --- a/frontends/windows/file.c +++ b/frontends/windows/file.c @@ -141,7 +141,9 @@ static nserror windows_nsurl_to_path(struct nsurl *url, char **path_out) return NSERROR_BAD_PARAMETER; } - res = url_unescape(lwc_string_data(urlpath), &path); + res = url_unescape(lwc_string_data(urlpath), + lwc_string_length(urlpath), + &path); lwc_string_unref(urlpath); if (res != NSERROR_OK) { return res; -- cgit v1.2.3