1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05: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 int
win32_socket(int pf, int type, int protocol) win32_socket(int pf, int type, int protocol)
{ {
// SOCKET s = socket(pf, type, protocol);
int s; int s;
int rc; int rc;
s = socket(PF_INET, SOCK_STREAM, 0); s = socket(pf, type, protocol);
if (s == INVALID_SOCKET) { if (s == INVALID_SOCKET) {
rc = -1; rc = -1;