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 | |
parent | a2b972dbe497ad8fa4d8eeaef9e540b3b55a31c9 (diff) | |
download | gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar.gz gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar.bz2 gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar.lz gsoc2013-evolution-31cc3a1eb4762733ff361ba8088d9e4547398156.tar.xz 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
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-tcp-stream-ssl.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 2dcdb99614..d7f49a760b 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 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). + * providers/imap/camel-imap-folder.c (imap_refresh_info): Make sure we hold the command_lock before accessing current_folder. (imap_append_online): Same. 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 ()); |