changeset 5483:86b563036d5a

SPDY: use predefined constant for size of the Stream-ID field. No functional changes.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 18 Dec 2013 18:39:29 +0400
parents a1c65fa499e2
children dc7f5c184473
files src/http/ngx_http_spdy_filter_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_
             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);