summaryrefslogtreecommitdiff
path: root/Remote/Bup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Bup.hs')
-rw-r--r--Remote/Bup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Bup.hs b/Remote/Bup.hs
index 0edb33ba8..16e1bbdcb 100644
--- a/Remote/Bup.hs
+++ b/Remote/Bup.hs
@@ -127,7 +127,7 @@ storeEncrypted r buprepo (cipher, enck) k = do
params <- bupSplitParams r buprepo enck (Param "-")
liftIO $ catchBool $ do
content <- L.readFile src
- withEncryptedContentHandle cipher content $ \h -> do
+ withEncryptedHandle cipher content $ \h -> do
pipeBup params (Just h) Nothing
retrieve :: BupRepo -> Key -> FilePath -> Annex Bool