diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-07-31 05:02:19 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-07-31 05:02:19 +0800 |
commit | 5b7760d260b69fd612c5237cf7db0a3ad5862178 (patch) | |
tree | 03edfc08c3d56e0a22effc46202462b523ae26ab /camel/providers/imap4/camel-imap4-engine.c | |
parent | 25fc2454a2855e3b8904bdad265897dd4384a9ab (diff) | |
download | gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.tar gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.tar.gz gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.tar.bz2 gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.tar.lz gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.tar.xz gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.tar.zst gsoc2013-evolution-5b7760d260b69fd612c5237cf7db0a3ad5862178.zip |
This needs to prequeue the CAPABILITY command rather than queue it
2004-07-30 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-engine.c
(camel_imap4_engine_capability): This needs to prequeue the
CAPABILITY command rather than queue it normally for the case of
reconnecting.
(camel_imap4_engine_namespace): Same.
svn path=/trunk/; revision=26781
Diffstat (limited to 'camel/providers/imap4/camel-imap4-engine.c')
-rw-r--r-- | camel/providers/imap4/camel-imap4-engine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/imap4/camel-imap4-engine.c b/camel/providers/imap4/camel-imap4-engine.c index 82b19bac86..b1a2bbc2e9 100644 --- a/camel/providers/imap4/camel-imap4-engine.c +++ b/camel/providers/imap4/camel-imap4-engine.c @@ -261,7 +261,7 @@ camel_imap4_engine_capability (CamelIMAP4Engine *engine, CamelException *ex) CamelIMAP4Command *ic; int id, retval = 0; - ic = camel_imap4_engine_queue (engine, NULL, "CAPABILITY\r\n"); + ic = camel_imap4_engine_prequeue (engine, NULL, "CAPABILITY\r\n"); while ((id = camel_imap4_engine_iterate (engine)) < ic->id && id != -1) ; @@ -295,9 +295,9 @@ camel_imap4_engine_namespace (CamelIMAP4Engine *engine, CamelException *ex) int id, i; if (engine->capa & CAMEL_IMAP4_CAPABILITY_NAMESPACE) { - ic = camel_imap4_engine_queue (engine, NULL, "NAMESPACE\r\n"); + ic = camel_imap4_engine_prequeue (engine, NULL, "NAMESPACE\r\n"); } else { - ic = camel_imap4_engine_queue (engine, NULL, "LIST \"\" \"\"\r\n"); + ic = camel_imap4_engine_prequeue (engine, NULL, "LIST \"\" \"\"\r\n"); camel_imap4_command_register_untagged (ic, "LIST", camel_imap4_untagged_list); ic->user_data = array = g_ptr_array_new (); } |