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 6b0e166 commit ec64390Copy full SHA for ec64390
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.211 2002/10/16 02:55:30 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.212 2002/10/16 04:38:00 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -1076,7 +1076,7 @@ connectDBComplete(PGconn *conn)
1076
finish_time = time(NULL) + timeout;
1077
}
1078
1079
- while (finish_time == -1 || time(NULL) >= finish_time)
+ while (finish_time == -1 || time(NULL) < finish_time)
1080
{
1081
/*
1082
* Wait, if necessary. Note that the initial state (just after
0 commit comments