From 8618a6a5e22a5df2f004fc30fefcb680fcff5b8d Mon Sep 17 00:00:00 2001 From: Dave Chiluk Date: Thu, 21 Jun 2018 11:03:20 -0500 Subject: [PATCH] MINOR: Some spelling cleanup in the comments. Signed-off-by: Dave Chiluk --- 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 does not have at least one of the - * capabilities in . An optionnal may be added at the end + * capabilities in . An optional 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)