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 --- utils/url.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/url.h') diff --git a/utils/url.h b/utils/url.h index aafdf1e15..94579e39e 100644 --- a/utils/url.h +++ b/utils/url.h @@ -46,9 +46,10 @@ nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus, * Convert an escaped string to plain. * * \param[in] str String to unescape. + * \parm[in] length Length of string or 0 to use strlen * \param[out] result unescaped string owned by caller must be freed with free() - * \return NSERROR_OK on success + * \return NSERROR_OK on success */ -nserror url_unescape(const char *str, char **result); +nserror url_unescape(const char *str, int length, char **result); #endif -- cgit v1.2.3