Commit c81a8ec
authored
Fix inet_addr
This breaks with modern Network libraries and I don't see how it ever worked. getAddrInfo takes an optional port number (or named port) in that argument. "tcp" is not a port. Passing Nothing suffices, since we're just getting the hostAddress and don't care about the port.1 parent d9cdb9a commit c81a8ec
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
0 commit comments