mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-08-26 16:28:00 +00:00
Merge pull request #839 from ikruglov/master
psgi_loader: fix a one off bug in XS_input_seek()
This commit is contained in:
@@ -11,8 +11,8 @@ XS(XS_input_seek) {
|
||||
dXSARGS;
|
||||
struct wsgi_request *wsgi_req = current_wsgi_req();
|
||||
|
||||
psgi_check_args(1);
|
||||
uwsgi_request_body_seek(wsgi_req, SvIV(ST(0)));
|
||||
psgi_check_args(2);
|
||||
uwsgi_request_body_seek(wsgi_req, SvIV(ST(1)));
|
||||
|
||||
XSRETURN(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user