Skip to content

Commit a634f10

Browse files
bugfix: build failure introduced by commit de1b896.
1 parent 4088194 commit a634f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ ngx_http_lua_send_header_if_needed(ngx_http_request_t *r,
536536
}
537537

538538
if (!ctx->headers_set) {
539-
if (ngx_http_lua_set_content_type(r) != NGX_OK) {
539+
if (ngx_http_lua_set_content_type(r, ctx) != NGX_OK) {
540540
return NGX_ERROR;
541541
}
542542

0 commit comments

Comments
 (0)