Signed-off-by: Dave Chiluk <[email protected]>
---
 include/common/cfgparse.h | 2 +-
 src/session.c             | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/common/cfgparse.h b/include/common/cfgparse.h
index c003bd3b0..6e35bc948 100644
--- a/include/common/cfgparse.h
+++ b/include/common/cfgparse.h
@@ -92,7 +92,7 @@ int parse_process_number(const char *arg, unsigned long 
*proc, int *autoinc, cha
 
 /*
  * Sends a warning if proxy <proxy> does not have at least one of the
- * capabilities in <cap>. An optionnal <hint> may be added at the end
+ * capabilities in <cap>. An optional <hint> may be added at the end
  * of the warning to help the user. Returns 1 if a warning was emitted
  * or 0 if the condition is valid.
  */
diff --git a/src/session.c b/src/session.c
index c1bd2d6b5..ae2d9e1d9 100644
--- a/src/session.c
+++ b/src/session.c
@@ -114,11 +114,11 @@ static void session_count_new(struct session *sess)
 }
 
 /* This function is called from the protocol layer accept() in order to
- * instanciate a new session on behalf of a given listener and frontend. It
+ * instantiate a new session on behalf of a given listener and frontend. It
  * returns a positive value upon success, 0 if the connection can be ignored,
  * or a negative value upon critical failure. The accepted file descriptor is
  * closed if we return <= 0. If no handshake is needed, it immediately tries
- * to instanciate a new stream. The created connection's owner points to the
+ * to instantiate a new stream. The created connection's owner points to the
  * new session until the upper layers are created.
  */
 int session_accept_fd(struct listener *l, int cfd, struct sockaddr_storage 
*addr)
-- 
2.17.1


Reply via email to