on master help sign in
Merge pull request #505 from reygoch/master

Fixed a typo for windows version, changed h to hdl

commitd39a9d569bbbac0f8e8cfbc8435a4fe9820b3f70 authorKazu Yamamoto <kazu@iij.ad.jp> dateTue 12 Jan 2016, 22:28 (11 years ago) parent2451e66f962d31
1 file changed+1−1
warp/Network/Wai/Handler/Warp/HTTP2/Sender.hs+1−1
warp/Network/Wai/Handler/Warp/HTTP2/Sender.hs+1−1
@@ -296,7 +296,7 @@ fillFileBodyGetNext Connection{connWriteBuffer,connBufferSize}
296296 (start, bytes) <- fileStartEnd path mpart
297297 -- fixme: how to close Handle? GC does it at this moment.
298298 hdl <- IO.openBinaryFile path IO.ReadMode
299− IO.hSeek h IO.AbsoluteSeek start
299+ IO.hSeek hdl IO.AbsoluteSeek start
300300 len <- IO.hGetBufSome hdl datBuf (mini room bytes)
301301 let bytes' = bytes - fromIntegral len
302302 -- fixme: connWriteBuffer connBufferSize