Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4dbf8 commit da9501bCopy full SHA for da9501b
src/interfaces/libpq/fe-connect.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.120 2000/02/19 05:04:54 ishii Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.121 2000/02/21 12:26:19 wieck Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -853,7 +853,7 @@ connectDBStart(PGconn *conn)
853
if (connect(conn->sock, &conn->raddr.sa, conn->raddr_len) < 0)
854
{
855
#ifndef WIN32
856
- if (errno == EINPROGRESS)
+ if (errno == EINPROGRESS || errno == 0)
857
#else
858
if (WSAGetLastError() == WSAEINPROGRESS)
859
#endif
0 commit comments