about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-02-18 18:59:32 +0100
committerMichael Vetter <jubalh@iodoru.org>2022-02-18 18:59:32 +0100
commit57fb10f0bf11351a5c5490742e61b29c36d95d38 (patch)
treec48a2c285804969ab24fe7b3659cf929544df854
parentd15f905d8300d68f476f99d87f9e8b4d895cc907 (diff)
downloadprofani-tty-57fb10f0bf11351a5c5490742e61b29c36d95d38.tar.gz
Fix typos in comments
-rw-r--r--src/command/cmd_funcs.c2
-rw-r--r--src/xmpp/message.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index ba06d59e..4b79b145 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -9436,7 +9436,7 @@ cmd_change_password(ProfWin* window, const char* const command, gchar** args)
     return TRUE;
 }
 
-// Returns true if an error occured
+// Returns true if an error occurred
 gboolean
 _get_message_from_editor(gchar* message, gchar** returned_message)
 {
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index 70371576..44e551c2 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -164,7 +164,7 @@ _message_handler(xmpp_conn_t* const conn, xmpp_stanza_t* const stanza, void* con
 
     } else if (type && g_strcmp0(type, STANZA_TYPE_HEADLINE) == 0) {
         xmpp_stanza_t* event = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_PUBSUB_EVENT);
-        // TODO: do we want to handle all pubsub here or should additionaly check for STANZA_NS_MOOD?
+        // TODO: do we want to handle all pubsub here or should additionally check for STANZA_NS_MOOD?
         if (event) {
             _handle_pubsub(stanza, event);
             return 1;