diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-29 04:20:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-29 04:20:56 +0800 |
commit | 4fccab6c1968979c691a941f767fa5d6b6f09208 (patch) | |
tree | 70d57648f9d46e8977f0c3d6c0e2530173ec3ab6 /camel/providers/imap/camel-imap-stream.c | |
parent | 5e8ab21b63ba452a92ff174a5df017b8816c30c6 (diff) | |
download | gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.tar gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.tar.gz gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.tar.bz2 gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.tar.lz gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.tar.xz gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.tar.zst gsoc2013-evolution-4fccab6c1968979c691a941f767fa5d6b6f09208.zip |
When getting a literal string response, don't include the \r\n after the
2000-09-28 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-folder.c (imap_get_message): When
getting a literal string response, don't include the \r\n after
the closing } (as in: "... {798}\r\n...")
* providers/imap/camel-imap-stream.c (stream_read): Same.
svn path=/trunk/; revision=5621
Diffstat (limited to 'camel/providers/imap/camel-imap-stream.c')
-rw-r--r-- | camel/providers/imap/camel-imap-stream.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-stream.c b/camel/providers/imap/camel-imap-stream.c index 8c04b75ec9..4e9ee046d7 100644 --- a/camel/providers/imap/camel-imap-stream.c +++ b/camel/providers/imap/camel-imap-stream.c @@ -162,6 +162,9 @@ stream_read (CamelStream *stream, char *buffer, size_t n) return -1; } + /* advance to the beginning of the actual data */ + p++; + /* calculate the new part-length */ for (q = p; *q && (q - p) <= part_len; q++) { if (*q == '\n') |