diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/event/ngx_event_quic.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index e005b4e6d..880dda023 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1989,7 +1989,7 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in, ssize_t n; ngx_buf_t *b; - while (in) { + for ( /* void */; in; in = in->next) { b = in->buf; if (!ngx_buf_in_memory(b)) { @@ -2016,8 +2016,6 @@ ngx_quic_stream_send_chain(ngx_connection_t *c, ngx_chain_t *in, b->pos += n; return in; } - - in = in->next; } return NULL; |