Spelling fixes.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
diff --git a/src/patterns/pubsub/trie.c b/src/patterns/pubsub/trie.c
index 200423e..07c0c1e 100644
--- a/src/patterns/pubsub/trie.c
+++ b/src/patterns/pubsub/trie.c
@@ -185,7 +185,7 @@
 struct sp_trie_node *sp_node_compact (struct sp_trie_node *self)
 {
     /*  Tries to merge the node with the child node. Returns pointer to
-        the comapacted node. */
+        the compacted node. */
 
     struct sp_trie_node *ch;
 
diff --git a/src/utils/aio.c b/src/utils/aio.c
index 2fd2fa1..73b3896 100644
--- a/src/utils/aio.c
+++ b/src/utils/aio.c
@@ -107,7 +107,7 @@
         return;
     }
 
-    /*  Othrewise enqueue the event for later processing. */
+    /*  Otherwise enqueue the event for later processing. */
     hndl->event = event;
     sp_mutex_lock (&self->events_sync);
     sp_queue_push (&self->events, &hndl->item);
@@ -592,7 +592,7 @@
                     newsock = accept (usock->s, NULL, NULL);
                     if (newsock == -1) {
 
-                        /*  The following are recoverable errors when accpting
+                        /*  The following are recoverable errors when accepting
                             a new connection. We can continue waiting for new
                             connection without even notifying the user. */
                         if (errno == ECONNABORTED ||