Fix typos and update codespell configuration

* Fix typos.
 * Add words that are not typos to codespell's ignore words list and
 ignore regex.
 * Make codespell ignore URIs.
 * Make `make doublecheck` throw no error.

Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
This commit is contained in:
Daniel Santos
2023-04-02 11:27:10 +01:00
parent f2c83fa8ce
commit c7f05c9ebf
4 changed files with 8 additions and 5 deletions

View File

@@ -105,7 +105,7 @@ _rotate_log_file(void)
log_info("Log has been rotated");
}
// abbreviation string is the prefix thats used in the log file
// abbreviation string is the prefix that's used in the log file
static char*
_log_abbreviation_string_from_level(log_level_t level)
{

View File

@@ -297,7 +297,7 @@ vcard_parse(xmpp_stanza_t* vcard_xml, vCard* vcard)
element->nickname = stanza_text_strdup(child_pointer);
if (!element->nickname) {
// Invaild element, free and do not push
// Invalid element, free and do not push
free(element);
continue;
}