diff --git a/gunicorn/http/_sendfile.py b/gunicorn/http/_sendfile.py index 698d9404..ec1a6d42 100644 --- a/gunicorn/http/_sendfile.py +++ b/gunicorn/http/_sendfile.py @@ -61,6 +61,6 @@ def sendfile(fdout, fdin, offset, nbytes): _offset = ctypes.c_uint64(offset) sent = _sendfile(fdout, fdin, _offset, nbytes) if sent == -1: - e = ctypess.get_errno() + e = ctypes.get_errno() raise OSError(e, os.strerror(e)) return sent