]> code.citadel.org Git - citadel.git/commitdiff
* Painstakingly combed through IMAP headers and responses for two hours in
authorArt Cancro <ajc@citadel.org>
Tue, 9 Dec 2003 04:50:16 +0000 (04:50 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 9 Dec 2003 04:50:16 +0000 (04:50 +0000)
  an attempt to figure out why the horrendous pile of crap called Microsoft
  Outlook counts the correct number of messages but wasn't displaying any
  of them.  Eventually determined that it was ONE EXTRA SPACE after the
  closing paren of the ENVELOPE output that caused Outlook to totally ignore
  all the messages.  This only reinforces my belief that anything designed
  in the state of Washington is utter and complete CRAP.
* Corrected the above glitch.  Outbreak works properly now.

citadel/ChangeLog
citadel/imap_fetch.c

index b700052a83bb93b717cf754ba0a18102920cb2ea..43766fdeb4cdd359a238f9c8d165be65fe03a2c3 100644 (file)
@@ -1,4 +1,14 @@
  $Log$
+ Revision 612.7  2003/12/09 04:50:16  ajc
+ * Painstakingly combed through IMAP headers and responses for two hours in
+   an attempt to figure out why the horrendous pile of crap called Microsoft
+   Outlook counts the correct number of messages but wasn't displaying any
+   of them.  Eventually determined that it was ONE EXTRA SPACE after the
+   closing paren of the ENVELOPE output that caused Outlook to totally ignore
+   all the messages.  This only reinforces my belief that anything designed
+   in the state of Washington is utter and complete CRAP.
+ * Corrected the above glitch.  Outbreak works properly now.
+
  Revision 612.6  2003/12/09 03:56:29  ajc
  * user_ops.c: missing string declaration or something?
 
@@ -5118,5 +5128,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
-
index d0b9ebf2bca97bc36740e5b1b4a2ef2de2886682..7144a2dd72c2def9fb79097bb1b72bcc13562f41 100644 (file)
@@ -351,7 +351,7 @@ void imap_fetch_envelope(long msgnum, struct CtdlMessage *msg) {
        /* message ID */
        imap_strout(msg->cm_fields['I']);
 
-       cprintf(") ");
+       cprintf(")");
 }
 
 
@@ -421,6 +421,8 @@ void imap_strip_headers(FILE *fp, char *section) {
                if (buf[0]=='\n') done_headers = 1;
        }
 
+       strcat(boiled_headers, "\r\n");
+
        /* Now write it back */
        rewind(fp);
        fwrite(boiled_headers, strlen(boiled_headers), 1, fp);