diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-20 02:13:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-20 02:13:24 +0800 |
commit | 31cc3a1eb4762733ff361ba8088d9e4547398156 (patch) | |
tree | dbeae01bb5d4fce88739685495f3a37b02e97cb0 /camel/camel-tcp-stream-ssl.c | |
parent | a2b972dbe497ad8fa4d8eeaef9e540b3b55a31c9 (diff) | |
download | gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar.gz gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar.zst gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.zip |
Set the poll timeout to be PR_INTERVAL_MIN, this one shouldn't need to be
2002-06-19 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (stream_connect): Set the poll timeout to
be PR_INTERVAL_MIN, this one shouldn't need to be 2 minutes (plus
it blocks my connection at home for far too long).
svn path=/trunk/; revision=17234
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r-- | camel/camel-tcp-stream-ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c index 6419cbf4e2..97901940e4 100644 --- a/camel/camel-tcp-stream-ssl.c +++ b/camel/camel-tcp-stream-ssl.c @@ -617,7 +617,7 @@ stream_connect (CamelTcpStream *stream, struct hostent *host, int port) poll.in_flags = PR_POLL_WRITE | PR_POLL_EXCEPT; poll.out_flags = 0; - timeout = CONNECT_TIMEOUT; + timeout = PR_INTERVAL_MIN; if (PR_Poll (&poll, 1, timeout) == PR_FAILURE) { set_errno (PR_GetError ()); |