diff options
author | 2012-11-16 13:32:18 -0400 | |
---|---|---|
committer | 2012-11-16 13:57:32 -0400 | |
commit | 3f68674646a758d346d7955248debea702748cf2 (patch) | |
tree | 9a8540e498840eaddf257c4ed626cb7767814c40 /Remote/S3.hs | |
parent | 99c4c837efc778ee792bacb53632261da1dfa99a (diff) |
encrypted webdav working
Diffstat (limited to 'Remote/S3.hs')
-rw-r--r-- | Remote/S3.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs index 67a64e464..f7dbf813c 100644 --- a/Remote/S3.hs +++ b/Remote/S3.hs @@ -122,7 +122,7 @@ storeEncrypted r (cipher, enck) k _p = s3Action r False $ \(conn, bucket) -> -- (An alternative would be chunking to to a constant size.) withTmp enck $ \tmp -> do f <- inRepo $ gitAnnexLocation k - liftIO $ withEncryptedContent cipher (L.readFile f) $ \s -> L.writeFile tmp s + liftIO $ withEncryptedContent cipher (L.readFile f) $ L.writeFile tmp res <- liftIO $ storeHelper (conn, bucket) r enck tmp s3Bool res |