# HG changeset patch # User Valentin Bartenev # Date 1387377569 -14400 # Node ID 86b563036d5a912c8bab0e65edf706479be9e66f # Parent a1c65fa499e2303b4cc31c73fbeb0866ca212360 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 --- 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);