bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Re: IMAP protocol violation in 1.1


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Re: IMAP protocol violation in 1.1
Date: Sun, 17 Aug 2008 16:20:58 +0300

Hi Simon,

Please apply the following patch, it should fix \Recent misbehavior.

Regards,
Sergey

Index: libproto/maildir/mbox.c
===================================================================
RCS file: /cvsroot/mailutils/mailutils/libproto/maildir/mbox.c,v
retrieving revision 1.12
diff -p -u -r1.12 mbox.c
--- libproto/maildir/mbox.c     31 Jul 2008 07:45:01 -0000      1.12
+++ libproto/maildir/mbox.c     17 Aug 2008 13:14:52 -0000
@@ -94,7 +94,6 @@ static struct info_map {
   { 'R', MU_ATTRIBUTE_READ },
   { 'S', MU_ATTRIBUTE_SEEN },
   { 'T', MU_ATTRIBUTE_DELETED },
-  { 0 },
 };
 #define info_map_size (sizeof (info_map) / sizeof (info_map[0]))
 
@@ -120,7 +119,7 @@ info_to_flags (char *buf)
   for (p = info_map; p < info_map + info_map_size; p++)
     if (strchr (buf, p->letter))
       flags |= p->flag;
-  return 0;
+  return flags;
 }
 
 static char *

reply via email to

[Prev in Thread] Current Thread [Next in Thread]