aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-stream.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-31 05:01:59 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-31 05:01:59 +0800
commit151fb928c3191fbf37d34e0f35ff242587fbb307 (patch)
tree811c5c37f11ebf8891ed3dd03dde428afb2e9ad8 /camel/providers/imap/camel-imap-stream.c
parentb7f6c874fd5b630fab571462978029cd306e9f74 (diff)
downloadgsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.tar
gsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.tar.gz
gsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.tar.bz2
gsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.tar.lz
gsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.tar.xz
gsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.tar.zst
gsoc2013-evolution-151fb928c3191fbf37d34e0f35ff242587fbb307.zip
Don't wrap printed strings in quotes, makes things messy
2000-08-30 Jeffrey Stedfast <fejj@helixcode.com> * camel-remote-store.c (remote_send_string): Don't wrap printed strings in quotes, makes things messy * providers/imap/camel-imap-folder.c (imap_get_message): Updated to use the camel_imap_fetch_command * providers/imap/camel-imap-stream.c (stream_read): Updated to use camel_imap_fetch_command * providers/imap/camel-imap-store.c (camel_imap_command_extended): No longer handles FETCH requests so no longer needs to be concerned with checking to make sure that server responses are valid (they have to be). (camel_imap_fetch_command): New convenience function that handles all FETCH requests svn path=/trunk/; revision=5122
Diffstat (limited to 'camel/providers/imap/camel-imap-stream.c')
-rw-r--r--camel/providers/imap/camel-imap-stream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-stream.c b/camel/providers/imap/camel-imap-stream.c
index f27e782c0a..a59be149d9 100644
--- a/camel/providers/imap/camel-imap-stream.c
+++ b/camel/providers/imap/camel-imap-stream.c
@@ -123,10 +123,10 @@ stream_read (CamelStream *stream, char *buffer, size_t n)
gint status, part_len;
camel_exception_init (&ex);
- status = camel_imap_command_extended (CAMEL_IMAP_STORE (folder->parent_store),
- CAMEL_FOLDER (imap_stream->folder),
- &result, &ex, "%s\r\n",
- imap_stream->command);
+ status = camel_imap_fetch_command (CAMEL_IMAP_STORE (folder->parent_store),
+ CAMEL_FOLDER (imap_stream->folder),
+ &result, &ex, "%s\r\n",
+ imap_stream->command);
/* FIXME: exception is ignored */
camel_exception_clear (&ex);