summaryrefslogtreecommitdiff
path: root/frontends/atari
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-06-29 23:06:53 +0100
committerVincent Sanders <vince@kyllikki.org>2016-06-29 23:06:53 +0100
commitc313524998377db92e5387d209e1ea79fbc30ba6 (patch)
tree2d227e6d617fc98fbc4b0ad36a7870a63cc3f900 /frontends/atari
parentc523bb47a0c884f58ab267eb9ad699ccbed907d5 (diff)
downloadnetsurf-c313524998377db92e5387d209e1ea79fbc30ba6.tar.gz
netsurf-c313524998377db92e5387d209e1ea79fbc30ba6.tar.bz2
reduce curl usage to fetcher, url unescaping and time parsing
Diffstat (limited to 'frontends/atari')
-rw-r--r--frontends/atari/file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/atari/file.c b/frontends/atari/file.c
index 499edd627..7bc11dabc 100644
--- a/frontends/atari/file.c
+++ b/frontends/atari/file.c
@@ -138,7 +138,9 @@ static nserror atari_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;