|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.193 2002/08/1800:06:01 momjian Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.194 2002/08/1801:35:39 momjian Exp $ |
12 | 12 | * |
13 | 13 | *------------------------------------------------------------------------- |
14 | 14 | */ |
@@ -111,8 +111,8 @@ static const PQconninfoOption PQconninfoOptions[] = { |
111 | 111 | {"password","PGPASSWORD",DefaultPassword,NULL, |
112 | 112 | "Database-Password","*",20}, |
113 | 113 |
|
114 | | -{"connect_timeout","PGCONNECT_TIMEOUT",NULL,NULL, |
115 | | -"Connect-timeout","",10},/* strlen( INT32_MAX) == 10 */ |
| 114 | +{"connect_timeout","PGCONNECT_TIMEOUT",NULL,NULL, |
| 115 | +"Connect-timeout","",10},/* strlen( INT32_MAX) == 10 */ |
116 | 116 |
|
117 | 117 | {"dbname","PGDATABASE",NULL,NULL, |
118 | 118 | "Database-Name","",20}, |
@@ -306,8 +306,8 @@ PQconnectStart(const char *conninfo) |
306 | 306 | conn->pguser=tmp ?strdup(tmp) :NULL; |
307 | 307 | tmp=conninfo_getval(connOptions,"password"); |
308 | 308 | conn->pgpass=tmp ?strdup(tmp) :NULL; |
309 | | -tmp=conninfo_getval(connOptions,"connect_timeout"); |
310 | | -conn->connect_timeout=tmp ?strdup(tmp) :NULL; |
| 309 | +tmp=conninfo_getval(connOptions,"connect_timeout"); |
| 310 | +conn->connect_timeout=tmp ?strdup(tmp) :NULL; |
311 | 311 | #ifdefUSE_SSL |
312 | 312 | tmp=conninfo_getval(connOptions,"requiressl"); |
313 | 313 | if (tmp&&tmp[0]=='1') |
@@ -1058,7 +1058,7 @@ connectDBComplete(PGconn *conn) |
1058 | 1058 | { |
1059 | 1059 | PostgresPollingStatusTypeflag=PGRES_POLLING_WRITING; |
1060 | 1060 |
|
1061 | | -structtimevalremains,*rp=NULL,finish_time,start_time; |
| 1061 | +structtimevalremains,*rp=NULL,finish_time,start_time; |
1062 | 1062 |
|
1063 | 1063 | if (conn==NULL||conn->status==CONNECTION_BAD) |
1064 | 1064 | return0; |
|