[PATCH] SPDY: fixed format specifiers in logging.

Valentin V. Bartenev vbart at nginx.com
Wed Mar 18 17:32:50 UTC 2015


On Sunday 15 March 2015 21:53:14 Xiaochen Wang wrote:
> 
> # HG changeset patch
> # User Xiaochen Wang <wangxiaochen0 at gmail.com>
> # Date 1426427181 -28800
> # Node ID ec3b9c4277e33bfc9b25bbee67b74d5ee528366a
> # Parent  79b473d5381d85f79ab71b7aa85ecf9be1caf9fb
> SPDY: fixed format specifiers in logging.
> 
> diff -r 79b473d5381d -r ec3b9c4277e3 src/http/ngx_http_spdy.c
> --- a/src/http/ngx_http_spdy.c	Fri Mar 13 16:43:01 2015 +0300
> +++ b/src/http/ngx_http_spdy.c	Sun Mar 15 21:46:21 2015 +0800
> @@ -1353,7 +1353,7 @@ ngx_http_spdy_state_window_update(ngx_ht
>      pos += NGX_SPDY_DELTA_SIZE;
>  
>      ngx_log_debug2(NGX_LOG_DEBUG_HTTP, sc->connection->log, 0,
> -                   "spdy WINDOW_UPDATE sid:%ui delta:%ui", sid, delta);
> +                   "spdy WINDOW_UPDATE sid:%ui delta:%uz", sid, delta);
>  
>      if (sid) {
>          stream = ngx_http_spdy_get_stream_by_id(sc, sid);
> 

Committed. Thanks!
http://hg.nginx.org/nginx/rev/199c0dd313ea

  wbr, Valentin V. Bartenev



More information about the nginx-devel mailing list