mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
omit unnecessary XSRETURN_EMPTY
This commit is contained in:
parent
03afa34c96
commit
5aca0e4678
@ -472,8 +472,6 @@ header_out(r, key, value)
|
|||||||
r->headers_out.content_length = header;
|
r->headers_out.content_length = header;
|
||||||
}
|
}
|
||||||
|
|
||||||
XSRETURN_EMPTY;
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
filename(r)
|
filename(r)
|
||||||
@ -600,8 +598,6 @@ print(r, ...)
|
|||||||
|
|
||||||
(void) ngx_http_perl_output(r, b);
|
(void) ngx_http_perl_output(r, b);
|
||||||
|
|
||||||
XSRETURN_EMPTY;
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
sendfile(r, filename, offset = -1, bytes = 0)
|
sendfile(r, filename, offset = -1, bytes = 0)
|
||||||
@ -688,8 +684,6 @@ sendfile(r, filename, offset = -1, bytes = 0)
|
|||||||
|
|
||||||
(void) ngx_http_perl_output(r, b);
|
(void) ngx_http_perl_output(r, b);
|
||||||
|
|
||||||
XSRETURN_EMPTY;
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
flush(r)
|
flush(r)
|
||||||
@ -755,8 +749,6 @@ allow_ranges(r)
|
|||||||
|
|
||||||
r->allow_ranges = 1;
|
r->allow_ranges = 1;
|
||||||
|
|
||||||
XSRETURN_EMPTY;
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
unescape(r, text, type = 0)
|
unescape(r, text, type = 0)
|
||||||
@ -953,8 +945,6 @@ sleep(r, sleep, next)
|
|||||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
"perl sleep: %d", ctx->sleep);
|
"perl sleep: %d", ctx->sleep);
|
||||||
|
|
||||||
XSRETURN_EMPTY;
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
log_error(r, err, msg)
|
log_error(r, err, msg)
|
||||||
@ -985,5 +975,3 @@ log_error(r, err, msg)
|
|||||||
p = (u_char *) SvPV(msg, len);
|
p = (u_char *) SvPV(msg, len);
|
||||||
|
|
||||||
ngx_log_error(NGX_LOG_ERR, r->connection->log, e, "perl: %s", p);
|
ngx_log_error(NGX_LOG_ERR, r->connection->log, e, "perl: %s", p);
|
||||||
|
|
||||||
XSRETURN_EMPTY;
|
|
||||||
|
Loading…
Reference in New Issue
Block a user