Hi,

I have been using uw-imapd-2006e and received an unexpected response:


-----
. uid fetch 65 rfc822.text
* 65 FETCH (UID 65 RFC822.TEXT RFC822.TEXT {16}
Hello world!

)
* 65 FETCH (FLAGS (\Seen) UID 65)
. OK UID FETCH completed
-----


I think one of two "RFC822.TEXT" in the second line is needless.
I guess that the following patch will fix it.


*** imapd.c~    2007-01-30 20:07:10.000000000 +0900
--- imapd.c     2007-01-30 20:04:22.000000000 +0900
***************
*** 3001,3007 ****
    if (i) {                    /* do work? */
      int f = mail_elt (stream,i)->seen;
      SIZEDTEXT st;
-     PSOUT ("RFC822.TEXT ");
      st.data = (unsigned char *)
      mail_fetch_text (stream,i,NIL,&st.size,
                     ((long) args) | FT_RETURNSTRINGSTRUCT);
--- 3001,3006 ----


Thanks,
kazuki
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to