From fdb1224ed8e93ce9b91b5eccef09de695d030dbc Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 4 Jun 2004 18:04:07 +0000 Subject: Always just return 0, don't try to PR_Sync() - fsync on a socket causes an 2004-06-04 Jeffrey Stedfast * camel-tcp-stream-ssl.c (stream_flush): Always just return 0, don't try to PR_Sync() - fsync on a socket causes an error. * providers/imap4/camel-imap4-command.c (camel_imap4_command_step): Set exceptions when write/flush fail. * providers/imap4/camel-imap4-engine.c (camel_imap4_engine_take_stream): Set an exception in the case where we get an unexpected greeting from the server. * providers/imap4/camel-imap4-store.c (imap4_create_folder): store->dir_sep no longer exists, so query the engine for the directory separator for the parent_folder. (imap4_build_folder_info): CamelFolderInfo no longer has a path component. svn path=/trunk/; revision=26217 --- camel/camel-tcp-stream-ssl.c | 3 ++- 1 file changed, 2 insertions(+), 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 fd6f4ff550..820912ffa5 100644 --- a/camel/camel-tcp-stream-ssl.c +++ b/camel/camel-tcp-stream-ssl.c @@ -477,7 +477,8 @@ stream_write (CamelStream *stream, const char *buffer, size_t n) static int stream_flush (CamelStream *stream) { - return PR_Sync (((CamelTcpStreamSSL *)stream)->priv->sockfd); + /*return PR_Sync (((CamelTcpStreamSSL *)stream)->priv->sockfd);*/ + return 0; } static int -- cgit