From 841395dd16f470e3c051a0a4fff5b91efc983c30 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 May 2021 14:33:27 +0200 Subject: Adding upstream version 1.31.0. Signed-off-by: Daniel Baumann --- libnetdata/url/url.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libnetdata/url') diff --git a/libnetdata/url/url.c b/libnetdata/url/url.c index 3de94fde7..f90b3d589 100644 --- a/libnetdata/url/url.c +++ b/libnetdata/url/url.c @@ -68,7 +68,7 @@ char url_percent_escape_decode(char *s) { * * @param c is the utf8 character * * - * @return It reurns the length of the specific character. + * @return It returns the length of the specific character. */ char url_utf8_get_byte_length(char c) { if(!IS_UTF8_BYTE(c)) @@ -226,7 +226,7 @@ char *url_decode_r(char *to, char *url, size_t size) { *d = '\0'; - if(unlikely( utf8_check((unsigned char *)to) )) //NULL means sucess here + if(unlikely( utf8_check((unsigned char *)to) )) //NULL means success here return NULL; return to; -- cgit v1.2.3