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-core".
The branch, enumerator has been updated
via 342c8670430548936a367d5568983ea1f28d144a (commit)
via 58896a05da205afce1f434bb05b64d2cd1b70304 (commit)
from bec80fc7bcd97e7e02524ef15d8b5551aa8be80f (commit)
Summary of changes:
src/Snap/Internal/Types.hs | 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 342c8670430548936a367d5568983ea1f28d144a
Merge: 58896a0 bec80fc
Author: Gregory Collins <[email protected]>
Date: Sun Nov 28 17:03:12 2010 +0100
Merge branch 'enumerator' of git.snapframework.com:snap-core into enumerator
commit 58896a05da205afce1f434bb05b64d2cd1b70304
Author: Gregory Collins <[email protected]>
Date: Sun Nov 28 17:02:54 2010 +0100
Fix a bug in transformRequestBody
diff --git a/src/Snap/Internal/Types.hs b/src/Snap/Internal/Types.hs
index d9acd7a..b7e18fd 100644
--- a/src/Snap/Internal/Types.hs
+++ b/src/Snap/Internal/Types.hs
@@ -248,7 +248,7 @@ transformRequestBody trans = do
let ioref = rqBody req
senum <- liftIO $ readIORef ioref
let (SomeEnumerator enum) = senum
- liftIO $ writeIORef ioref (SomeEnumerator $ enumBS "")
+ liftIO $ writeIORef ioref (SomeEnumerator enumEOF)
origRsp <- getResponse
let rsp = setResponseBody
-----------------------------------------------------------------------
hooks/post-receive
--
snap-core
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap