From 31cc3a1eb4762733ff361ba8088d9e4547398156 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 19 Jun 2002 18:13:24 +0000 Subject: Set the poll timeout to be PR_INTERVAL_MIN, this one shouldn't need to be 2002-06-19 Jeffrey Stedfast * 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 --- camel/camel-tcp-stream-ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-tcp-stream-ssl.c') 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 ()); -- cgit v1.2.3