projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e3a2e
)
change from deprecated and removed aNY_PORT to defaultPort
author
Joey Hess
<joeyh@joeyh.name>
Thu, 8 Oct 2020 14:35:16 +0000
(10:35 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 8 Oct 2020 14:35:16 +0000
(10:35 -0400)
(Both are just 0 internally.)
Utility/WebApp.hs
patch
|
blob
|
history
diff --git
a/Utility/WebApp.hs
b/Utility/WebApp.hs
index d2dbd845a9aa7639f7a1c119e9f779dc49d85b51..62c6e2fd6815fb8beece6d728422a24ea7d72f6b 100644
(file)
--- a/
Utility/WebApp.hs
+++ b/
Utility/WebApp.hs
@@
-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