Changes in lib/proxy.c [ca8037e:e252d8c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/proxy.c
rca8037e re252d8c 26 26 #include <string.h> 27 27 #include <sys/types.h> 28 #ifndef _WIN3229 28 #include <sys/socket.h> 30 29 #include <netdb.h> … … 32 31 #include <arpa/inet.h> 33 32 #include <unistd.h> 34 #else35 #include "sock.h"36 #define ETIMEDOUT WSAETIMEDOUT37 #define EINPROGRESS WSAEINPROGRESS38 #endif39 33 #include <fcntl.h> 40 34 #include <errno.h> … … 76 70 len = sizeof(error); 77 71 78 #ifndef _WIN3279 72 if (getsockopt(source, SOL_SOCKET, SO_ERROR, &error, &len) < 0 || error) { 80 73 if ((phb->gai_cur = phb->gai_cur->ai_next)) { … … 101 94 return FALSE; 102 95 } 103 #endif104 96 freeaddrinfo(phb->gai); 105 97 sock_make_blocking(source);
Note: See TracChangeset
for help on using the changeset viewer.