Commit 53b21b78 53b21b78acab7b1022d7f50f5954426fd5f82241 by Sergey Poznyakoff

* libproto/maildir/mbox.c (info_to_flags): Fix return value.

1 parent ec42a8c0
2008-08-17 Sergey Poznyakoff <gray@gnu.org.ua>
* libproto/maildir/mbox.c (info_to_flags): Fix return value.
Implement UNSELECT extension.
* doc/rfc/Makefile.am: Add rfc3691.txt
* doc/rfc/rfc3691.txt: New file.
......
......@@ -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 *
......