]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
esl: init fd_flags to 0
authorMathieu Rene <mrene@avgs.ca>
Wed, 18 Aug 2010 22:26:57 +0000 (18:26 -0400)
committerMathieu Rene <mrene@avgs.ca>
Wed, 18 Aug 2010 22:27:29 +0000 (18:27 -0400)
libs/esl/src/esl.c

index 48be3f93d1ea009b1cfc6fc1e6c53dc7cd233ef6..160fe2d759f149e3b37601a7bc912bb9fa061822 100644 (file)
@@ -614,7 +614,7 @@ ESL_DECLARE(esl_status_t) esl_connect_timeout(esl_handle_t *handle, const char *
        const char *hval;
        struct addrinfo hints = { 0 }, *result;
 #ifndef WIN32
-       int fd_flags;
+       int fd_flags = 0;
 #else
        WORD wVersionRequested = MAKEWORD(2, 0);
        WSADATA wsaData;