summaryrefslogtreecommitdiffhomepage
path: root/src/http/v2/ngx_http_v2.h
diff options
context:
space:
mode:
authorPiotr Sikora <piotrsikora@google.com>2017-03-26 01:25:01 -0700
committerPiotr Sikora <piotrsikora@google.com>2017-03-26 01:25:01 -0700
commit679bd07b42f6abde6ab0554653585d8e153e5c02 (patch)
treea1da02aa772cf45e36b50c6a4991aa8281bc9e1c /src/http/v2/ngx_http_v2.h
parent0a5e969dd084baf917c21abe07d402b402df0164 (diff)
downloadnginx-679bd07b42f6abde6ab0554653585d8e153e5c02.tar.gz
nginx-679bd07b42f6abde6ab0554653585d8e153e5c02.tar.bz2
HTTP/2: style and typos.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Diffstat (limited to 'src/http/v2/ngx_http_v2.h')
-rw-r--r--src/http/v2/ngx_http_v2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/v2/ngx_http_v2.h b/src/http/v2/ngx_http_v2.h
index cddfccd28..7d2a2ea0f 100644
--- a/src/http/v2/ngx_http_v2.h
+++ b/src/http/v2/ngx_http_v2.h
@@ -249,8 +249,8 @@ ngx_http_v2_queue_blocked_frame(ngx_http_v2_connection_t *h2c,
{
ngx_http_v2_out_frame_t **out;
- for (out = &h2c->last_out; *out; out = &(*out)->next)
- {
+ for (out = &h2c->last_out; *out; out = &(*out)->next) {
+
if ((*out)->blocked || (*out)->stream == NULL) {
break;
}