summaryrefslogtreecommitdiff
path: root/imap
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-02-15 09:30:42 -0700
committerEduardo Chappa <chappa@washington.edu>2019-02-15 09:30:42 -0700
commit35f3426203172af028df5a6e39bc6dea2514020d (patch)
treedbd97fc96bd9fa4df57a66887495b34acceb1241 /imap
parent7da08008606c282cd08440d2f9310cc718c62946 (diff)
downloadalpine-35f3426203172af028df5a6e39bc6dea2514020d.tar.xz
* Restore recognition of empty directories. It was deleted by mistake
when added support for internationalization in folders. Based on a report by Michael Rutter.
Diffstat (limited to 'imap')
-rw-r--r--imap/src/c-client/imap4r1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/src/c-client/imap4r1.c b/imap/src/c-client/imap4r1.c
index 2c8616e8..f443cb9b 100644
--- a/imap/src/c-client/imap4r1.c
+++ b/imap/src/c-client/imap4r1.c
@@ -4363,6 +4363,7 @@ void imap_parse_unsolicited (MAILSTREAM *stream,IMAPPARSEDREPLY *reply)
else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED;
else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED;
else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN;
+ else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN;
else if (!compare_cstring (t,"\\All")) i |= LATT_ALL;
else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE;
else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS;