tmailfs: fix handling of FLAGS response (Robert Vollmert) - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6b0a42ed047c3a9f9719294c64285b131a3d736e
 (DIR) parent 47ede89e4a832de2dada80599c1260f456275f19
 (HTM) Author: Russ Cox <rsc@swtch.com>
       Date:   Wed, 22 Aug 2007 11:21:52 -0400
       
       mailfs: fix handling of FLAGS response (Robert Vollmert)
       
       Diffstat:
         M src/cmd/upas/nfs/imap.c             |       8 ++++++--
       
       1 file changed, 6 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/upas/nfs/imap.c b/src/cmd/upas/nfs/imap.c
       t@@ -1270,8 +1270,12 @@ xexists(Imap *z, Sx *sx)
        static void
        xflags(Imap *z, Sx *sx)
        {
       -        if(z->box)
       -                z->box->flags = parseflags(sx->sx[2]);
       +        /*
       +         * This response contains in sx->sx[2] the list of flags
       +         * that can be validly attached to messages in z->box.
       +         * We don't have any use for this list, since we 
       +         * use only the standard flags.
       +         */
        }
        
        static void