* libproto/maildir/mbox.c (info_to_flags): Fix return value.
Showing
2 changed files
with
3 additions
and
2 deletions
1 | 2008-08-17 Sergey Poznyakoff <gray@gnu.org.ua> | 1 | 2008-08-17 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 2 | ||
3 | * libproto/maildir/mbox.c (info_to_flags): Fix return value. | ||
4 | |||
3 | Implement UNSELECT extension. | 5 | Implement UNSELECT extension. |
4 | * doc/rfc/Makefile.am: Add rfc3691.txt | 6 | * doc/rfc/Makefile.am: Add rfc3691.txt |
5 | * doc/rfc/rfc3691.txt: New file. | 7 | * doc/rfc/rfc3691.txt: New file. | ... | ... |
... | @@ -94,7 +94,6 @@ static struct info_map { | ... | @@ -94,7 +94,6 @@ static struct info_map { |
94 | { 'R', MU_ATTRIBUTE_READ }, | 94 | { 'R', MU_ATTRIBUTE_READ }, |
95 | { 'S', MU_ATTRIBUTE_SEEN }, | 95 | { 'S', MU_ATTRIBUTE_SEEN }, |
96 | { 'T', MU_ATTRIBUTE_DELETED }, | 96 | { 'T', MU_ATTRIBUTE_DELETED }, |
97 | { 0 }, | ||
98 | }; | 97 | }; |
99 | #define info_map_size (sizeof (info_map) / sizeof (info_map[0])) | 98 | #define info_map_size (sizeof (info_map) / sizeof (info_map[0])) |
100 | 99 | ||
... | @@ -120,7 +119,7 @@ info_to_flags (char *buf) | ... | @@ -120,7 +119,7 @@ info_to_flags (char *buf) |
120 | for (p = info_map; p < info_map + info_map_size; p++) | 119 | for (p = info_map; p < info_map + info_map_size; p++) |
121 | if (strchr (buf, p->letter)) | 120 | if (strchr (buf, p->letter)) |
122 | flags |= p->flag; | 121 | flags |= p->flag; |
123 | return 0; | 122 | return flags; |
124 | } | 123 | } |
125 | 124 | ||
126 | static char * | 125 | static char * | ... | ... |
-
Please register or sign in to post a comment