From 35cd31644f6a1c44bfa54d12e199ec9e95edab6f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 10 Apr 2002 03:02:33 +0000 Subject: Make the folder_lock recursive. See bug #22363 for details. Basically, 2002-04-09 Jeffrey Stedfast * 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 --- camel/camel-tcp-stream-ssl.c | 2 ++ 1 file changed, 2 insertions(+) (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 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; -- cgit