Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/proxy.c

    rca8037e re252d8c  
    2626#include <string.h>
    2727#include <sys/types.h>
    28 #ifndef _WIN32
    2928#include <sys/socket.h>
    3029#include <netdb.h>
     
    3231#include <arpa/inet.h>
    3332#include <unistd.h>
    34 #else
    35 #include "sock.h"
    36 #define ETIMEDOUT WSAETIMEDOUT
    37 #define EINPROGRESS WSAEINPROGRESS
    38 #endif
    3933#include <fcntl.h>
    4034#include <errno.h>
     
    7670        len = sizeof(error);
    7771       
    78 #ifndef _WIN32
    7972        if (getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len) < 0 || error) {
    8073                if ((phb->gai_cur = phb->gai_cur->ai_next)) {
     
    10194                return FALSE;
    10295        }
    103 #endif
    10496        freeaddrinfo(phb->gai);
    10597        sock_make_blocking(source);
Note: See TracChangeset for help on using the changeset viewer.