fix temp uri

should be the loguri
This commit is contained in:
Joey Hess 2014-12-17 14:34:42 -04:00
parent bf9df3fc7e
commit 96721c3e4a

View file

@ -110,7 +110,7 @@ downloadRemoteFile r relaxed uri file sz = do
-- Set temporary url for the urlkey
-- so that the remote knows what url it
-- should use to download it.
setTempUrl urlkey uri
setTempUrl urlkey loguri
let downloader = Remote.retrieveKeyFile r urlkey (Just file)
ret <- downloadWith downloader urlkey (Remote.uuid r) loguri file
removeTempUrl urlkey