change from deprecated and removed aNY_PORT to defaultPort
(Both are just 0 internally.)
This commit is contained in:
parent
30e3a2e4c4
commit
fd81dd912b
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ getSocket h = do
|
|||
addr <- inet_addr "127.0.0.1"
|
||||
sock <- socket AF_INET Stream defaultProtocol
|
||||
preparesocket sock
|
||||
bind sock (SockAddrInet aNY_PORT addr)
|
||||
bind sock (SockAddrInet defaultPort addr)
|
||||
use sock
|
||||
where
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue