From 7417a21bb1f0e8e00958319f60d8c12a9502a353 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 24 Jul 2016 19:47:29 +0100 Subject: Improve comments. --- utils/url.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/url.h') diff --git a/utils/url.h b/utils/url.h index 07ad1a794..5d8d1540c 100644 --- a/utils/url.h +++ b/utils/url.h @@ -48,9 +48,10 @@ nserror url_escape(const char *unescaped, size_t toskip, bool sptoplus, * \param[in] str String to unescape. * \param[in] length Length of string or 0 to use strlen. * \param[out] length_out Iff non-NULL, value updated to length of returned - * result_out string. + * result_out string (excluding trailing '\0'`). * \param[out] result_out Returns unescaped string, owned by caller. * Must be freed with free(). + * Returned string has trailing '\0'. * \return NSERROR_OK on success */ nserror url_unescape(const char *str, size_t length, -- cgit v1.2.3