From a33feb8ff43c8bbe1e78c6fd0537102ea0d2b79e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Wed, 19 Apr 2017 11:46:27 +0200 Subject: [PATCH] Fix typos found by ka7/misspell_fixer --- include/libpsl.h.in | 2 +- src/lookup_string_in_fixed_set.c | 2 +- src/psl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libpsl.h.in b/include/libpsl.h.in index 4a49804..ff34a65 100644 --- a/include/libpsl.h.in +++ b/include/libpsl.h.in @@ -155,7 +155,7 @@ const char * int psl_check_version_number(int version); -/* returns wether the built-in data is outdated or not */ +/* returns whether the built-in data is outdated or not */ int psl_builtin_outdated(void); diff --git a/src/lookup_string_in_fixed_set.c b/src/lookup_string_in_fixed_set.c index 9baa990..2f68bd7 100644 --- a/src/lookup_string_in_fixed_set.c +++ b/src/lookup_string_in_fixed_set.c @@ -30,7 +30,7 @@ static const char multibyte_length_table[16] = { /** - * Get lenght of multibyte character sequence starting at a given byte. + * Get length of multibyte character sequence starting at a given byte. * Returns zero if the byte is not a valid leading byte in UTF-8. */ static int GetMultibyteLength(char c) { diff --git a/src/psl.c b/src/psl.c index 4e6aa14..72892ab 100644 --- a/src/psl.c +++ b/src/psl.c @@ -1284,7 +1284,7 @@ void psl_free(psl_ctx_t *psl) * psl_builtin: * * This function returns the PSL context that has been generated and built in at compile-time. - * You don't have to free the returned context explicitely. + * You don't have to free the returned context explicitly. * * The builtin data also contains punycode entries, one for each international domain name. *