Empty flags problem

Patrick Welche prlw1 at newn.cam.ac.uk
Tue May 11 05:58:25 EDT 2004


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?

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




More information about the Info-cyrus mailing list