This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap-server".

The branch, master has been updated
       via  da140b2035d4bdfab7dcb479ddba449ca13db26a (commit)
      from  fa81e0ae22ad1747003b9a668f536676835ffaba (commit)


Summary of changes:
 src/System/SendFile/Linux.hsc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit da140b2035d4bdfab7dcb479ddba449ca13db26a
Author: Gregory Collins <[email protected]>
Date:   Sun Jun 12 15:44:11 2011 -0400

    Fix linux sendfile (oops)

diff --git a/src/System/SendFile/Linux.hsc b/src/System/SendFile/Linux.hsc
index 64784cc..5f5b20d 100644
--- a/src/System/SendFile/Linux.hsc
+++ b/src/System/SendFile/Linux.hsc
@@ -29,7 +29,7 @@ sendfile onBlock out_fd in_fd poff bytes = do
     if nsent <= -1
       then do errno <- getErrno
               if errno == eAGAIN
-                then onBlock >> sendfile out_fd in_fd poff bytes
+                then onBlock >> sendfile onBlock out_fd in_fd poff bytes
                 else throwErrno "System.SendFile.Linux"
       else return nsent
 
-----------------------------------------------------------------------


hooks/post-receive
-- 
snap-server
_______________________________________________
Snap mailing list
[email protected]
https://mailman-mail5.webfaction.com/listinfo/snap

Reply via email to