about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-04-03 17:13:00 +0200
committerGitHub <noreply@github.com>2023-04-03 17:13:00 +0200
commit2caae3ed9933cabb6e997631f02493bf08ce9b73 (patch)
tree539900206b450ff5b8369fd1ded11979fb88d6a3 /src
parentf2c83fa8ceea29e295509c8b964f1e9ccda2f0e4 (diff)
parentc7f05c9ebf69921cab8ff6f902938982c517d1b9 (diff)
downloadprofani-tty-2caae3ed9933cabb6e997631f02493bf08ce9b73.tar.gz
Merge pull request #1807 from alexandre1985/fix/typos
Fix typos and add codespell configuration
Diffstat (limited to 'src')
-rw-r--r--src/log.c2
-rw-r--r--src/xmpp/vcard.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index a1b7bb1d..f2537675 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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)
 {
diff --git a/src/xmpp/vcard.c b/src/xmpp/vcard.c
index 6d2f0b1e..b3ff5d39 100644
--- a/src/xmpp/vcard.c
+++ b/src/xmpp/vcard.c
@@ -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;
             }