Hi,

The attached patch fixes typos in the code comments of the h2 subsystem.

Thanks,
Joseph
From 8a8d518185c4acade2274ece034ef89611c39ee2 Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerosti...@debian.org>
Date: Sun, 25 Nov 2018 10:54:45 -0800
Subject: [PATCH] CLEANUP: Fix typos in the h2 subsystem

Fixes typos in the code comments of the h2 subsystem.
---
 src/mux_h2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mux_h2.c b/src/mux_h2.c
index 0407e380..e5408293 100644
--- a/src/mux_h2.c
+++ b/src/mux_h2.c
@@ -651,7 +651,7 @@ static void h2s_destroy(struct h2s *h2s)
 		h2s->send_wait->wait_reason &= ~SUB_CAN_SEND;
 	if (h2s->recv_wait != NULL)
 		h2s->recv_wait->wait_reason &= ~SUB_CAN_RECV;
-	/* There's no need to explicitely call unsubscribe here, the only
+	/* There's no need to explicitly call unsubscribe here, the only
 	 * reference left would be in the h2c send_list/fctl_list, and if
 	 * we're in it, we're getting out anyway
 	 */
@@ -1008,7 +1008,7 @@ static int h2s_send_rst_stream(struct h2c *h2c, struct h2s *h2s)
  *
  * Returns > 0 on success or zero if nothing was done. In case of lack of room
  * to write the message, it blocks the demuxer and subscribes it to future
- * notifications. It's worth mentionning that an RST may even be sent for a
+ * notifications. It's worth mentioning that an RST may even be sent for a
  * closed stream.
  */
 static int h2c_send_rst_stream(struct h2c *h2c, struct h2s *h2s)
-- 
2.19.1

Reply via email to