CLEANUP: assorted typo fixes in the code and comments

This is 11th iteration of typo fixes
diff --git a/src/sink.c b/src/sink.c
index e273df4..e8eef85 100644
--- a/src/sink.c
+++ b/src/sink.c
@@ -141,7 +141,7 @@
 }
 
 /* tries to send <nmsg> message parts (up to 8, ignored above) from message
- * array <msg> to sink <sink>. Formating according to the sink's preference is
+ * array <msg> to sink <sink>. Formatting according to the sink's preference is
  * done here. Lost messages are NOT accounted for. It is preferable to call
  * sink_write() instead which will also try to emit the number of dropped
  * messages when there are any. It returns >0 if it could write anything,