From ea1dfdcde779eef733c983a00826b6f0a7523e73 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 7 Jul 2019 16:19:16 -0400 Subject: whitespace --- lib/Hosts.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Hosts.hs b/lib/Hosts.hs index 0f1d9a6..9d6ef92 100644 --- a/lib/Hosts.hs +++ b/lib/Hosts.hs @@ -79,7 +79,7 @@ parseLine s = (addr,names) a <- fmap L.unpack $ listToMaybe addr0 n <- inet_pton a return $ n -- inet_ntop n - + uncom s = fst $ L.break (=='#') s empty :: Hosts @@ -87,7 +87,7 @@ empty = Hosts { lineCount = 0 , numline = Map.empty , addrnum = Map.empty , namenum = Map.empty - } + } {- parseHosts fname = do -- cgit v1.2.3