1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-29 01:45:34 +00:00

[win32] IPv4 was hardcoced.

This commit is contained in:
Witold Filipczyk 2022-05-02 21:00:57 +02:00
parent d674466f65
commit 799313529b

View File

@ -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;