[PATCH] SPDY: fixed format specifiers in logging.

Xiaochen Wang wangxiaochen0 at gmail.com
Sun Mar 15 13:53:14 UTC 2015


# 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);



More information about the nginx-devel mailing list