comparison src/http/modules/ngx_http_flv_module.c @ 754:4ac89c5aa10d

style fix: remove trailing spaces
author Igor Sysoev <igor@sysoev.ru>
date Mon, 09 Oct 2006 15:38:59 +0000
parents af72ac9c3dbf
children 761a94247118
comparison
equal deleted inserted replaced
753:af72ac9c3dbf 754:4ac89c5aa10d
181 } 181 }
182 182
183 log->action = "sending flv to client"; 183 log->action = "sending flv to client";
184 184
185 cln->handler = ngx_pool_cleanup_file; 185 cln->handler = ngx_pool_cleanup_file;
186 clnf = cln->data; 186 clnf = cln->data;
187 187
188 clnf->fd = fd; 188 clnf->fd = fd;
189 clnf->name = path.data; 189 clnf->name = path.data;
190 clnf->log = r->pool->log; 190 clnf->log = r->pool->log;
191 191
192 r->headers_out.status = NGX_HTTP_OK; 192 r->headers_out.status = NGX_HTTP_OK;
193 r->headers_out.content_length_n = sizeof(ngx_flv_header) - 1 + len; 193 r->headers_out.content_length_n = sizeof(ngx_flv_header) - 1 + len;
194 r->headers_out.last_modified_time = ngx_file_mtime(&fi); 194 r->headers_out.last_modified_time = ngx_file_mtime(&fi);
195 195
196 if (ngx_http_set_content_type(r) != NGX_OK) { 196 if (ngx_http_set_content_type(r) != NGX_OK) {
197 return NGX_HTTP_INTERNAL_SERVER_ERROR; 197 return NGX_HTTP_INTERNAL_SERVER_ERROR;
198 } 198 }
199 199
200 b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); 200 b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t));
201 if (b == NULL) { 201 if (b == NULL) {
202 return NGX_HTTP_INTERNAL_SERVER_ERROR; 202 return NGX_HTTP_INTERNAL_SERVER_ERROR;