projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a9648b
)
Fix from Joe on timeout code.
author
Bruce Momjian
<
[email protected]
>
Wed, 16 Oct 2002 04:38:00 +0000
(
04:38
+0000)
committer
Bruce Momjian
<
[email protected]
>
Wed, 16 Oct 2002 04:38:00 +0000
(
04:38
+0000)
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index 3355624e15c5ef79112d342a3567218a068386f3..3370157d41efd7bf6ea6aedc24c33ebf6cf03a0c 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-1076,7
+1076,7
@@
connectDBComplete(PGconn *conn)
finish_time = time(NULL) + timeout;
}
- while (finish_time == -1 || time(NULL)
>=
finish_time)
+ while (finish_time == -1 || time(NULL)
<
finish_time)
{
/*
* Wait, if necessary. Note that the initial state (just after