esl: init fd_flags to 0
This commit is contained in:
parent
f1aead3174
commit
b38909af0e
|
@ -614,7 +614,7 @@ ESL_DECLARE(esl_status_t) esl_connect_timeout(esl_handle_t *handle, const char *
|
||||||
const char *hval;
|
const char *hval;
|
||||||
struct addrinfo hints = { 0 }, *result;
|
struct addrinfo hints = { 0 }, *result;
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
int fd_flags;
|
int fd_flags = 0;
|
||||||
#else
|
#else
|
||||||
WORD wVersionRequested = MAKEWORD(2, 0);
|
WORD wVersionRequested = MAKEWORD(2, 0);
|
||||||
WSADATA wsaData;
|
WSADATA wsaData;
|
||||||
|
|
Loading…
Reference in New Issue