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) ...@@ -586,6 +586,7 @@ imap4d_mainloop (int ifd, int ofd, enum tls_mode tls)
586 { 586 {
587 case tls_required: 587 case tls_required:
588 imap4d_capability_add (IMAP_CAPA_XTLSREQUIRED); 588 imap4d_capability_add (IMAP_CAPA_XTLSREQUIRED);
589 break;
589 case tls_no: 590 case tls_no:
590 imap4d_capability_remove (IMAP_CAPA_STARTTLS); 591 imap4d_capability_remove (IMAP_CAPA_STARTTLS);
591 tls_available = 0; 592 tls_available = 0;
......