@@ -62,7 +62,9 @@ static apr_status_t nginx_bucket_read(apr_bucket *b, const char **str,
62
62
return APR_EGENERAL ;
63
63
}
64
64
65
- size = ngx_read_file (buf -> file , data , ngx_buf_size (buf ), buf -> file_pos );
65
+ size = ngx_read_file (buf -> file , data , ngx_buf_size (buf ),
66
+ buf -> file_pos );
67
+
66
68
if (size != ngx_buf_size (buf )) {
67
69
apr_bucket_free (data );
68
70
return APR_EGENERAL ;
@@ -153,8 +155,9 @@ ngx_buf_t * apr_bucket_to_ngx_buf(apr_bucket *e, ngx_pool_t *pool) {
153
155
return buf ;
154
156
}
155
157
156
- ngx_int_t
157
- copy_chain_to_brigade (ngx_chain_t * chain_orig , apr_bucket_brigade * bb , ngx_pool_t * pool , ngx_int_t last_buf ) {
158
+ ngx_int_t copy_chain_to_brigade (ngx_chain_t * chain_orig ,
159
+ apr_bucket_brigade * bb , ngx_pool_t * pool , ngx_int_t last_buf )
160
+ {
158
161
apr_bucket * e ;
159
162
160
163
ngx_chain_t * chain = chain_orig ;
@@ -183,8 +186,9 @@ copy_chain_to_brigade(ngx_chain_t *chain_orig, apr_bucket_brigade *bb, ngx_pool_
183
186
}
184
187
185
188
186
- ngx_int_t
187
- move_chain_to_brigade (ngx_chain_t * chain_orig , apr_bucket_brigade * bb , ngx_pool_t * pool , ngx_int_t last_buf ) {
189
+ ngx_int_t move_chain_to_brigade (ngx_chain_t * chain_orig ,
190
+ apr_bucket_brigade * bb , ngx_pool_t * pool , ngx_int_t last_buf )
191
+ {
188
192
apr_bucket * e ;
189
193
ngx_chain_t * cl ;
190
194
@@ -215,8 +219,9 @@ move_chain_to_brigade(ngx_chain_t *chain_orig, apr_bucket_brigade *bb, ngx_pool_
215
219
return NGX_AGAIN ;
216
220
}
217
221
218
- ngx_int_t
219
- move_brigade_to_chain (apr_bucket_brigade * bb , ngx_chain_t * * ll , ngx_pool_t * pool ) {
222
+ ngx_int_t move_brigade_to_chain (apr_bucket_brigade * bb ,
223
+ ngx_chain_t * * ll , ngx_pool_t * pool )
224
+ {
220
225
apr_bucket * e ;
221
226
ngx_buf_t * buf ;
222
227
ngx_chain_t * cl ;
0 commit comments