diff options
Diffstat (limited to 'camel/camel-stream-buffer.c')
-rw-r--r-- | camel/camel-stream-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-stream-buffer.c b/camel/camel-stream-buffer.c index ff7df172ae..3d7ac5e845 100644 --- a/camel/camel-stream-buffer.c +++ b/camel/camel-stream-buffer.c @@ -452,7 +452,7 @@ camel_stream_buffer_read_line (CamelStreamBuffer *sbf) } p--; - if (p[-1] == '\r') + if (p > sbf->linebuf && p[-1] == '\r') p--; p[0] = 0; |