aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2013-12-18 18:39:29 +0400
committerValentin Bartenev <vbart@nginx.com>2013-12-18 18:39:29 +0400
commitc8f3f9fa1204232b8801fdc9f7d99576d923931c (patch)
treeb10888e4d9a88b4078af686fd5bd9c8a0ff69b9d /src
parentbf3ff5bca722da61bf5d0fc524c31a0a44b40aa9 (diff)
downloadnginx-c8f3f9fa1204232b8801fdc9f7d99576d923931c.tar.gz
nginx-c8f3f9fa1204232b8801fdc9f7d99576d923931c.zip
SPDY: use predefined constant for size of the Stream-ID field.
No functional changes.
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_spdy_filter_module.c2
1 files changed, 1 insertions, 1 deletions
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);