]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: Some spelling cleanup in the comments.
authorDave Chiluk <chiluk+haproxy@indeed.com>
Thu, 21 Jun 2018 16:03:20 +0000 (11:03 -0500)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Jun 2018 18:43:52 +0000 (20:43 +0200)
Signed-off-by: Dave Chiluk <chiluk+haproxy@indeed.com>
include/common/cfgparse.h
src/session.c

index c003bd3b031b0e88298f03b7dbb53ec2fc47244a..6e35bc948c3ae6790d4e777fb9dbeb43c3ba7220 100644 (file)
@@ -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.
  */
index c1bd2d6b5fd59c41df2de427cc3722963d4235c8..ae2d9e1d9a02c34b1d9b28e6c5b9adc2c45036b1 100644 (file)
@@ -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)