summaryrefslogtreecommitdiff
path: root/lib/KeyRing.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/KeyRing.hs')
-rw-r--r--lib/KeyRing.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/KeyRing.hs b/lib/KeyRing.hs
index 5cdb30c..8b041f1 100644
--- a/lib/KeyRing.hs
+++ b/lib/KeyRing.hs
@@ -582,7 +582,7 @@ writeHostsFiles
582 -> ([Hosts.Hosts], 582 -> ([Hosts.Hosts],
583 [Hosts.Hosts], 583 [Hosts.Hosts],
584 Hosts.Hosts, 584 Hosts.Hosts,
585 [(SockAddr, (t1, [Char8.ByteString]))], 585 [Hostnames],
586 [SockAddr]) 586 [SockAddr])
587 -> IO [(FilePath, KikiReportAction)] 587 -> IO [(FilePath, KikiReportAction)]
588writeHostsFiles krd ctx (hostdbs0,hostdbs,u1,gpgnames,outgoing_names) = do 588writeHostsFiles krd ctx (hostdbs0,hostdbs,u1,gpgnames,outgoing_names) = do
@@ -598,7 +598,7 @@ writeHostsFiles krd ctx (hostdbs0,hostdbs,u1,gpgnames,outgoing_names) = do
598 -- 3. add hostnames from gpg for addresses not in U 598 -- 3. add hostnames from gpg for addresses not in U
599 let u = foldl' f u1 ans 599 let u = foldl' f u1 ans
600 ans = reverse $ do 600 ans = reverse $ do
601 (addr,(_,ns)) <- gpgnames 601 Hostnames addr _ ns _ <- gpgnames
602 guard $ addr `elem` outgoing_names -- . null $ Hosts.namesForAddress addr u0 602 guard $ addr `elem` outgoing_names -- . null $ Hosts.namesForAddress addr u0
603 n <- ns 603 n <- ns
604 return (addr,n) 604 return (addr,n)