diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-11-03 03:19:27 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-11-03 03:19:27 +0800 |
commit | 25f5d224cc174f5c8eea3651034841e051668caf (patch) | |
tree | 2a381d5c014340cadfb361257579151d03a7a107 /camel/providers | |
parent | 1f36b6217d5cc602a6f1e0821531b8d613a69016 (diff) | |
download | gsoc2013-evolution-25f5d224cc174f5c8eea3651034841e051668caf.tar.gz gsoc2013-evolution-25f5d224cc174f5c8eea3651034841e051668caf.tar.zst gsoc2013-evolution-25f5d224cc174f5c8eea3651034841e051668caf.zip |
Update stream->inptr after fetching the literal chunk.
2004-11-02 Jeffrey Stedfast <fejj@novell.com>
* providers/imap4/camel-imap4-stream.c
(camel_imap4_stream_literal): Update stream->inptr after fetching
the literal chunk.
svn path=/trunk/; revision=27800
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap4/camel-imap4-stream.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap4/camel-imap4-stream.c b/camel/providers/imap4/camel-imap4-stream.c index 629a86f7d8..42100b04de 100644 --- a/camel/providers/imap4/camel-imap4-stream.c +++ b/camel/providers/imap4/camel-imap4-stream.c @@ -710,6 +710,8 @@ camel_imap4_stream_literal (CamelIMAP4Stream *stream, unsigned char **literal, s *len = nread = inend - inptr; stream->literal -= nread; + stream->inptr += nread; + if (stream->literal == 0) { stream->mode = CAMEL_IMAP4_STREAM_MODE_TOKEN; stream->eol = TRUE; |