summaryrefslogtreecommitdiffstats
path: root/libnetdata/url/url.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 12:33:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-05-19 12:33:27 +0000
commit841395dd16f470e3c051a0a4fff5b91efc983c30 (patch)
tree4115f6eedcddda75067130b80acaff9e51612f49 /libnetdata/url/url.c
parentAdding upstream version 1.30.1. (diff)
downloadnetdata-841395dd16f470e3c051a0a4fff5b91efc983c30.tar.xz
netdata-841395dd16f470e3c051a0a4fff5b91efc983c30.zip
Adding upstream version 1.31.0.upstream/1.31.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/url/url.c')
-rw-r--r--libnetdata/url/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetdata/url/url.c b/libnetdata/url/url.c
index 3de94fde..f90b3d58 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;