Empty flags problem
Ken Murchison
ken at oceana.com
Tue May 11 07:39:41 EDT 2004
Patrick Welche wrote:
> I am having difficulty writing messages with no flags:
>
> 392 APPEND INBOX () "21-Aug-1999 20:59:08 +0100" {12670}
> 392 BAD Missing required argument to Append command
>
> 393 APPEND INBOX (\Seen) "22-Aug-1999 17:44:08 +0100" {1970}
> 393 OK [APPENDUID 1084268571 221] Completed
>
> Yet in imapd.c v1.448 (which I am using), there clearly is:
>
> if (c == '(' && !arg.s[0]) {
> nflags = 0;
> do {
> c = getword(imapd_in, &arg);
> if (!nflags && !arg.s[0] && c == ')') break; /* empty list */
>
> in other words that case is covered. Thoughts?
Which version of Cyrus are you using?
Your command works fine on my box (2.3 CVS HEAD).
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list