File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.195 2002/08/27 14:49:52 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.196 2002/08/27 15:02:50 momjian Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -1078,7 +1078,7 @@ connectDBComplete(PGconn *conn)
1078
1078
rp = & remains ;
1079
1079
}
1080
1080
1081
- while (rp == NULL || remains .tv_sec > 0 || ( remains .tv_sec == 0 && remains . tv_usec > 0 ) )
1081
+ while (rp == NULL || remains .tv_sec > 0 || remains .tv_usec > 0 )
1082
1082
{
1083
1083
/*
1084
1084
* If connecting timeout is set, get current time.
@@ -1111,7 +1111,7 @@ connectDBComplete(PGconn *conn)
1111
1111
break ;
1112
1112
1113
1113
case PGRES_POLLING_WRITING :
1114
- if (pqWaitTimed (0 , 1 , conn , rp ))
1114
+ if (pqWaitTimed (0 , 1 , conn , rp ))
1115
1115
{
1116
1116
conn -> status = CONNECTION_BAD ;
1117
1117
return 0 ;
@@ -1347,7 +1347,7 @@ PQconnectPoll(PGconn *conn)
1347
1347
1348
1348
if (pqGetc (& beresp , conn ))
1349
1349
{
1350
- /* We'll come back when there are more data */
1350
+ /* We'll come back when there is more data */
1351
1351
return PGRES_POLLING_READING ;
1352
1352
}
1353
1353
You can’t perform that action at this time.
0 commit comments