summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-07-07 16:19:16 -0400
committerAndrew Cady <d@jerkface.net>2019-07-07 16:19:16 -0400
commitea1dfdcde779eef733c983a00826b6f0a7523e73 (patch)
treec365d7f93772b58f01bd761e95ad3c9b237ffb0b
parentd644dd0595949d5388bf4bb2dcfc1d5fa29f5f17 (diff)
whitespace
-rw-r--r--lib/Hosts.hs4
1 files changed, 2 insertions, 2 deletions
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)
79 a <- fmap L.unpack $ listToMaybe addr0 79 a <- fmap L.unpack $ listToMaybe addr0
80 n <- inet_pton a 80 n <- inet_pton a
81 return $ n -- inet_ntop n 81 return $ n -- inet_ntop n
82 82
83 uncom s = fst $ L.break (=='#') s 83 uncom s = fst $ L.break (=='#') s
84 84
85empty :: Hosts 85empty :: Hosts
@@ -87,7 +87,7 @@ empty = Hosts { lineCount = 0
87 , numline = Map.empty 87 , numline = Map.empty
88 , addrnum = Map.empty 88 , addrnum = Map.empty
89 , namenum = Map.empty 89 , namenum = Map.empty
90 } 90 }
91 91
92{- 92{-
93parseHosts fname = do 93parseHosts fname = do