I'm sorry I just realized I applied this against the 1.8 stable.

I'll send another patch for 1.9.

On Thu, Jun 21, 2018 at 10:55 AM Dave Chiluk <chiluk+hapr...@indeed.com>
wrote:

> Some spelling cleanup in comments.
>
> Signed-off-by: Dave Chiluk <chiluk+hapr...@indeed.com>
> ---
>  include/common/cfgparse.h | 2 +-
>  include/types/task.h      | 2 +-
>  src/session.c             | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/include/common/cfgparse.h b/include/common/cfgparse.h
> index c3355ca4..3022b8d8 100644
> --- a/include/common/cfgparse.h
> +++ b/include/common/cfgparse.h
> @@ -90,7 +90,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/include/types/task.h b/include/types/task.h
> index 991e3a46..ac8c4339 100644
> --- a/include/types/task.h
> +++ b/include/types/task.h
> @@ -64,7 +64,7 @@ struct notification {
>  struct task {
>         struct eb32sc_node rq;          /* ebtree node used to hold the
> task in the run queue */
>         unsigned short state;           /* task state : bit field of
> TASK_* */
> -       unsigned short pending_state;   /* pending states for running talk
> */
> +       unsigned short pending_state;   /* pending states for running task
> */
>         short nice;                     /* the task's current nice value
> from -1024 to +1024 */
>         unsigned int calls;             /* number of times ->process() was
> called */
>         struct task * (*process)(struct task *t);  /* the function which
> processes the task */
> diff --git a/src/session.c b/src/session.c
> index 318c1716..898dbaab 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