Empty flags problem (PS)
Patrick Welche
prlw1 at newn.cam.ac.uk
Tue May 11 07:41:37 EDT 2004
On Tue, May 11, 2004 at 10:58:25AM +0100, 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
Also:
229 APPEND INBOX " 7-Jun-1999 09:53:44 +0100" {2228}
229 BAD Missing required argument to Append command
i.e., even without the optional flag
>
> 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?
>
> Patrick
> ---
> 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
---
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