Paul J Stevens wrote:
Simon,
These both look like a valid bugs. Please file a report for both on
the bugtracker and send us your patch for the missing timezone.
String output handling in the imap code is a known issue. I'm working
on a massive cleanup of that code. Could you please send me the actual
IMAP command send by snappermail so I can add that one to my test-suite?
thanks,
I've tried to find the cause of the problem. I managed to find the place
where the extra space is inserted. After removing
this space (and adding a space in another place), I seem to get the
right output.
I'm not really confident that these small changes fix it all. I'm also
not sure if I haven't broken anything else. I've done some tests with
Thunderbird, and everything still works. Output from IMAP seems ok.
I have not commited anything yet. I've attached the diff.
Ilja
--
Ilja Booij
IC&S B.V.
Stadhouderslaan 57
3583 JD Utrecht
www.ic-s.nl
T algemeen: 030 6355730
T direct: 030 6355739
F: 030 6355731
E: [EMAIL PROTECTED]
Index: imaputil.c
===================================================================
RCS file: /cvsroot-dbmail/dbmail/imaputil.c,v
retrieving revision 1.74
diff -r1.74 imaputil.c
171c171
< fprintf(outstream, " %llu ",
---
> fprintf(outstream, " %llu",
175c175
< fprintf(outstream, " %llu ",
---
> fprintf(outstream, " %llu",
216c216
< fprintf(outstream, "%llu",
---
> fprintf(outstream, " %llu",
219c219
< fprintf(outstream, "%llu", msg->bodylines);
---
> fprintf(outstream, " %llu", msg->bodylines);