diff options
Diffstat (limited to 'src/http/modules')
| -rw-r--r-- | src/http/modules/ngx_http_browser_module.c | 2 | ||||
| -rw-r--r-- | src/http/modules/ngx_http_flv_module.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_browser_module.c b/src/http/modules/ngx_http_browser_module.c index a2fb4bd36..98df6c575 100644 --- a/src/http/modules/ngx_http_browser_module.c +++ b/src/http/modules/ngx_http_browser_module.c @@ -61,7 +61,7 @@ static ngx_int_t ngx_http_browser_variable(ngx_http_request_t *r, static ngx_uint_t ngx_http_browser(ngx_http_request_t *r, ngx_http_browser_conf_t *cf); - + static ngx_int_t ngx_http_browser_add_variable(ngx_conf_t *cf); static void *ngx_http_browser_create_conf(ngx_conf_t *cf); static char *ngx_http_browser_merge_conf(ngx_conf_t *cf, void *parent, diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c index daa52777b..7fa736d80 100644 --- a/src/http/modules/ngx_http_flv_module.c +++ b/src/http/modules/ngx_http_flv_module.c @@ -183,7 +183,7 @@ ngx_http_flv_handler(ngx_http_request_t *r) log->action = "sending flv to client"; cln->handler = ngx_pool_cleanup_file; - clnf = cln->data; + clnf = cln->data; clnf->fd = fd; clnf->name = path.data; @@ -194,7 +194,7 @@ ngx_http_flv_handler(ngx_http_request_t *r) r->headers_out.last_modified_time = ngx_file_mtime(&fi); if (ngx_http_set_content_type(r) != NGX_OK) { - return NGX_HTTP_INTERNAL_SERVER_ERROR; + return NGX_HTTP_INTERNAL_SERVER_ERROR; } b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); |
