Skip to content

Commit

Permalink
i hate my kbd. Real fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitc committed May 11, 2011
1 parent a65bf39 commit 4ecc144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gunicorn/http/_sendfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def sendfile(fdout, fdin, offset, nbytes):
_sendfile.argtypes = [ctypes.c_int, ctypes.c_int, ctypes.c_uint64,
ctypes.c_uint64, ctypes.c_voidp,
ctypes.POINTER(ctypes.c_uint64), ctypes.c_int]
_sbytes = ctypes.c_uint64()
result = _sendfile(fdin, fdout, offset, nbytes, None, _sbytes, 0)
if result == -1:
e = ctypes.get_errno()
Expand Down

0 comments on commit 4ecc144

Please sign in to comment.