diff options
Diffstat (limited to 'Presence/LocalPeerCred.hs')
-rw-r--r-- | Presence/LocalPeerCred.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Presence/LocalPeerCred.hs b/Presence/LocalPeerCred.hs index 990975ee..ecd77dae 100644 --- a/Presence/LocalPeerCred.hs +++ b/Presence/LocalPeerCred.hs | |||
@@ -62,7 +62,7 @@ as16 :: Word16 -> Word16 | |||
62 | as16 = id | 62 | as16 = id |
63 | 63 | ||
64 | parseProcNet port host h = do | 64 | parseProcNet port host h = do |
65 | tcp <- hGetContents h | 65 | tcp <- hGetContents h -- Failed: tcp <- hFileSize h >>= hGet h . fromIntegral |
66 | let u = do | 66 | let u = do |
67 | ls <- listToMaybe . tail . tails . L.lines $ tcp | 67 | ls <- listToMaybe . tail . tails . L.lines $ tcp |
68 | let ws = map L.words ls | 68 | let ws = map L.words ls |