[dovecot-cvs] dovecot/src/imap imap-fetch-body.c,1.5,1.6
cras at dovecot.org
cras at dovecot.org
Mon Aug 23 18:29:09 EEST 2004
Update of /home/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv16077
Modified Files:
imap-fetch-body.c
Log Message:
fix
Index: imap-fetch-body.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/imap-fetch-body.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- imap-fetch-body.c 22 Aug 2004 10:32:55 -0000 1.5
+++ imap-fetch-body.c 23 Aug 2004 15:29:07 -0000 1.6
@@ -156,10 +156,13 @@
add = '\0';
blocks = TRUE;
}
+
+ if (ret > 0)
+ cr_skipped = msg[ret-1] == '\r';
+
i_stream_skip(input, ret);
sent += ret;
- cr_skipped = ret > 0 && msg[ret-1] == '\r';
if (add != '\0') {
if ((ret = o_stream_send(output, &add, 1)) < 0)
return -1;
More information about the dovecot-cvs
mailing list