summaryrefslogtreecommitdiff
path: root/Remote/External.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/External.hs')
-rw-r--r--Remote/External.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Remote/External.hs b/Remote/External.hs
index b6928a827..62671755c 100644
--- a/Remote/External.hs
+++ b/Remote/External.hs
@@ -223,7 +223,8 @@ handleRequest' lck external req mp responsehandler
handleRemoteRequest (SETURLMISSING key url) =
setUrlMissing (externalUUID external) key url
handleRemoteRequest (GETURLS key prefix) = do
- mapM_ (send . VALUE) =<< getUrlsWithPrefix key prefix
+ mapM_ (send . VALUE . fst . getDownloader)
+ =<< getUrlsWithPrefix key prefix
send (VALUE "") -- end of list
handleRemoteRequest (DEBUG msg) = liftIO $ debugM "external" msg
handleRemoteRequest (VERSION _) =