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:
parent
d674466f65
commit
799313529b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user