[PATCH] Phase_handler: style.

Ruslan Ermilov ru at nginx.com
Wed Jul 19 20:05:02 UTC 2017


On Wed, Jul 19, 2017 at 06:54:22AM -0700, Zhang Chao wrote:
> # HG changeset patch
> # User Alex Zhang
> # Date 1500471580 -28800
> #      Wed Jul 19 21:39:40 2017 +0800
> # Node ID 9744b6eb0e04e53346f3e02aa16cbea1d3dfce72
> # Parent  cc7ff76df9270a239ce615f0dcff280eb6dfd2ba
> Phase_handler: style.
> 
> Signed-off-by: Alex Zhang <zchao1995 at gmail.com>
> 
> diff -r cc7ff76df927 -r 9744b6eb0e04 src/http/ngx_http.c
> --- a/src/http/ngx_http.c       Wed Jul 19 12:05:50 2017 +0300
> +++ b/src/http/ngx_http.c       Wed Jul 19 21:39:40 2017 +0800
> @@ -548,7 +548,7 @@
> 
>          n += cmcf->phases[i].handlers.nelts;
> 
> -        for (j = cmcf->phases[i].handlers.nelts - 1; j >=0; j--) {
> +        for (j = cmcf->phases[i].handlers.nelts - 1; j >= 0; j--) {
>              ph->checker = checker;
>              ph->handler = h[j];
>              ph->next = n;

http://hg.nginx.org/nginx/rev/863b862534d7


More information about the nginx-devel mailing list