aboutsummaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Command')
-rw-r--r--Command/AddUrl.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/AddUrl.hs b/Command/AddUrl.hs
index 1833cc2a7..66a5c4e3d 100644
--- a/Command/AddUrl.hs
+++ b/Command/AddUrl.hs
@@ -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