[evolution-data-server] Pass the port directly which to exchange message.
- From: Chenthill Palanisamy <pchen src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Pass the port directly which to exchange message.
- Date: Tue, 24 Nov 2009 15:15:10 +0000 (UTC)
commit e75386b3b3b8c32820fc22c4cb66b6fbe03c1ef9
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Fri Nov 6 19:57:04 2009 +0530
Pass the port directly which to exchange message.
camel/providers/imapx/camel-imapx-server.c | 4 ++--
camel/providers/imapx/test-imapx.c | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index de5d2d7..1f29807 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1258,7 +1258,7 @@ imapx_continuation(CamelIMAPXServer *imap, CamelException *ex)
static gint
imapx_completion(CamelIMAPXServer *imap, guchar *token, gint len, CamelException *ex)
{
- CamelIMAPXCommand * volatile ic;
+ CamelIMAPXCommand *ic;
guint tag;
if (token[0] != imap->tagprefix)
@@ -1628,7 +1628,7 @@ imapx_job_done(CamelIMAPXServer *is, CamelIMAPXCommand *ic)
camel_exception_clear(job->ex);
g_free(job);
} else
- camel_msgport_reply((CamelMsg *)job);
+ camel_msgport_reply(job->msg.reply_port);
}
/* ********************************************************************** */
diff --git a/camel/providers/imapx/test-imapx.c b/camel/providers/imapx/test-imapx.c
index 80b8ea7..3cf406f 100644
--- a/camel/providers/imapx/test-imapx.c
+++ b/camel/providers/imapx/test-imapx.c
@@ -30,6 +30,8 @@ main (gint argc, gchar *argv [])
service = camel_session_get_service (session, uri, CAMEL_PROVIDER_STORE, ex);
camel_service_connect (service, ex);
+ camel_store_get_folder_info ((CamelStore *)service, "", 3, NULL);
+
while (1)
{
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]