File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 30
30
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
31
31
* Portions Copyright (c) 1994, Regents of the University of California
32
32
*
33
- * $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.207 2010/03/13 16:40:38 momjian Exp $
33
+ * $PostgreSQL: pgsql/src/backend/libpq/pqcomm.c,v 1.208 2010/03/13 16:56:37 momjian Exp $
34
34
*
35
35
*-------------------------------------------------------------------------
36
36
*/
@@ -1346,10 +1346,10 @@ pq_getkeepalivesidle(Port *port)
1346
1346
int
1347
1347
pq_setkeepalivesidle (int idle , Port * port )
1348
1348
{
1349
- #ifdef TCP_KEEPIDLE
1350
1349
if (port == NULL || IS_AF_UNIX (port -> laddr .addr .ss_family ))
1351
1350
return STATUS_OK ;
1352
1351
1352
+ #ifdef TCP_KEEPIDLE
1353
1353
if (idle == port -> keepalives_idle )
1354
1354
return STATUS_OK ;
1355
1355
@@ -1418,10 +1418,10 @@ pq_getkeepalivesinterval(Port *port)
1418
1418
int
1419
1419
pq_setkeepalivesinterval (int interval , Port * port )
1420
1420
{
1421
- #ifdef TCP_KEEPINTVL
1422
1421
if (port == NULL || IS_AF_UNIX (port -> laddr .addr .ss_family ))
1423
1422
return STATUS_OK ;
1424
1423
1424
+ #ifdef TCP_KEEPINTVL
1425
1425
if (interval == port -> keepalives_interval )
1426
1426
return STATUS_OK ;
1427
1427
@@ -1490,10 +1490,10 @@ pq_getkeepalivescount(Port *port)
1490
1490
int
1491
1491
pq_setkeepalivescount (int count , Port * port )
1492
1492
{
1493
- #ifdef TCP_KEEPCNT
1494
1493
if (port == NULL || IS_AF_UNIX (port -> laddr .addr .ss_family ))
1495
1494
return STATUS_OK ;
1496
1495
1496
+ #ifdef TCP_KEEPCNT
1497
1497
if (count == port -> keepalives_count )
1498
1498
return STATUS_OK ;
1499
1499
You can’t perform that action at this time.
0 commit comments