Commit c80cac74 c80cac74a8eb89f754d870d2032c04d1a86ea01f by Sergey Poznyakoff

Fix tls_required functionality in imap4d

* imap4d/imap4d.c (imap4d_mainloop): Add missing break.
1 parent 784c724f
......@@ -586,6 +586,7 @@ imap4d_mainloop (int ifd, int ofd, enum tls_mode tls)
{
case tls_required:
imap4d_capability_add (IMAP_CAPA_XTLSREQUIRED);
break;
case tls_no:
imap4d_capability_remove (IMAP_CAPA_STARTTLS);
tls_available = 0;
......