Skip to content

Commit

Permalink
error fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kazu-yamamoto committed Jun 21, 2012
1 parent 8039857 commit 57d2127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Network/Sendfile/Linux.hsc
Expand Up @@ -120,7 +120,7 @@ sendAllMsgMore sock hook bs = do
sent <- sendMsgMore sock bs
when (sent < B.length bs) $ do
hook
sendAllMsgMore sock (B.drop sent bs)
sendAllMsgMore sock hook (B.drop sent bs)

sendMsgMore :: Socket -> ByteString -> IO Int
sendMsgMore (MkSocket s _ _ _ _) xs =
Expand Down

0 comments on commit 57d2127

Please sign in to comment.