mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[win32] IPv4 was hardcoced.
This commit is contained in:
parent
d674466f65
commit
799313529b
@ -371,12 +371,10 @@ win32_ioctl(int fd, long option, int *flag)
|
||||
int
|
||||
win32_socket(int pf, int type, int protocol)
|
||||
{
|
||||
// SOCKET s = socket(pf, type, protocol);
|
||||
|
||||
int s;
|
||||
int rc;
|
||||
|
||||
s = socket(PF_INET, SOCK_STREAM, 0);
|
||||
s = socket(pf, type, protocol);
|
||||
|
||||
if (s == INVALID_SOCKET) {
|
||||
rc = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user