From: Art Cancro Date: Sat, 8 Nov 2003 06:46:09 +0000 (+0000) Subject: * IMAP FETCH BODY was outputting the offset and length in the X-Git-Tag: v7.86~5709 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=30b471e7d839b3444e82bce3fa3a86a9d1d2b050;p=citadel.git * IMAP FETCH BODY was outputting the offset and length in the wrong order. Fixed. --- diff --git a/citadel/ChangeLog b/citadel/ChangeLog index e41eafbff..c5bd494c4 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,8 @@ $Log$ + Revision 611.3 2003/11/08 06:46:08 ajc + * IMAP FETCH BODY was outputting the offset and length in the + wrong order. Fixed. + Revision 611.2 2003/11/08 06:29:47 ajc * IMAP FETCH FLAGS ... removed extra trailing space after last flag @@ -5065,3 +5069,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/imap_fetch.c b/citadel/imap_fetch.c index b23768b86..db543c894 100644 --- a/citadel/imap_fetch.c +++ b/citadel/imap_fetch.c @@ -536,8 +536,8 @@ void imap_fetch_body(long msgnum, char *item, int is_peek, } fseek(tmp, pstart, SEEK_SET); bytes_remaining = pbytes; - cprintf("BODY[%s] {%ld}<%ld>\r\n", - section, bytes_remaining, pstart); + cprintf("BODY[%s]<%ld> {%ld}\r\n", + section, pstart, bytes_remaining); } blocksize = sizeof(buf);