diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-04-10 11:02:33 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-04-10 11:02:33 +0800 |
commit | 35cd31644f6a1c44bfa54d12e199ec9e95edab6f (patch) | |
tree | 8b1e2dc87bdf5f7729579c57e84376263bc0deea /camel/camel-tcp-stream-ssl.c | |
parent | 63a8a94536b64f931b64ac99e83de1f782cfcdf8 (diff) | |
download | gsoc2013-evolution-35cd31644f6a1c44bfa54d12e199ec9e95edab6f.tar.gz gsoc2013-evolution-35cd31644f6a1c44bfa54d12e199ec9e95edab6f.tar.zst gsoc2013-evolution-35cd31644f6a1c44bfa54d12e199ec9e95edab6f.zip |
Make the folder_lock recursive. See bug #22363 for details. Basically,
2002-04-09 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (camel_store_init): Make the folder_lock
recursive. See bug #22363 for details. Basically,
get_folder_info() is requesting a diary folder which in turn
connects which requests then calls get_folder() but deadlocks
because get_folder_info already holds the lock.
svn path=/trunk/; revision=16419
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r-- | camel/camel-tcp-stream-ssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c index 29d9fd7bcc..a06fb93d1c 100644 --- a/camel/camel-tcp-stream-ssl.c +++ b/camel/camel-tcp-stream-ssl.c @@ -635,6 +635,8 @@ stream_connect (CamelTcpStream *stream, struct hostent *host, int port) return -1; } + + errno = 0; } ssl->priv->sockfd = fd; |