diff options
-rw-r--r-- | Presence/XMPPTypes.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Presence/XMPPTypes.hs b/Presence/XMPPTypes.hs index 41ce07c2..06cfb563 100644 --- a/Presence/XMPPTypes.hs +++ b/Presence/XMPPTypes.hs | |||
@@ -239,7 +239,7 @@ parseAddressJID jid = do | |||
239 | 239 | ||
240 | peerAddr :: Peer -> SockAddr | 240 | peerAddr :: Peer -> SockAddr |
241 | peerAddr (RemotePeer addr) = addr | 241 | peerAddr (RemotePeer addr) = addr |
242 | -- peerAddr LocalHost = throw exception | 242 | peerAddr LocalHost = SockAddrInet6 0 (0 {- FlowInfo -}) (0,0,0,1) (0 {- ScopeID -}) |
243 | 243 | ||
244 | socketFamily (SockAddrInet _ _) = AF_INET | 244 | socketFamily (SockAddrInet _ _) = AF_INET |
245 | socketFamily (SockAddrInet6 _ _ _ _) = AF_INET6 | 245 | socketFamily (SockAddrInet6 _ _ _ _) = AF_INET6 |