From: Valentin Bartenev Date: Wed, 18 Dec 2013 14:39:29 +0000 (+0400) Subject: SPDY: use predefined constant for size of the Stream-ID field. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=c8f3f9fa1204232b8801fdc9f7d99576d923931c;p=nginx.git SPDY: use predefined constant for size of the Stream-ID field. No functional changes. --- diff --git a/src/http/ngx_http_spdy_filter_module.c b/src/http/ngx_http_spdy_filter_module.c index 805177651..4497e8b16 100644 --- a/src/http/ngx_http_spdy_filter_module.c +++ b/src/http/ngx_http_spdy_filter_module.c @@ -751,7 +751,7 @@ ngx_http_spdy_filter_get_data_frame(ngx_http_spdy_stream_t *stream, p = buf->start; buf->pos = p; - p += sizeof(uint32_t); + p += NGX_SPDY_SID_SIZE; (void) ngx_spdy_frame_write_flags_and_len(p, flags, len);