]> granicus.if.org Git - mutt/commitdiff
Fix the imap_force_ssl option.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 26 Apr 2000 17:43:00 +0000 (17:43 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 26 Apr 2000 17:43:00 +0000 (17:43 +0000)
imap/util.c

index bf0862a2c942d2bf931557f69f3b2179a7de8f7a..d189366279f7721266400ad3d04b9854800fff33 100644 (file)
@@ -23,6 +23,7 @@
 #include "mutt.h"
 #include "mx.h"        /* for M_IMAP */
 #include "imap_private.h"
+#include "imap_ssl.h"
 
 #include <stdlib.h>
 #include <ctype.h>
@@ -179,11 +180,12 @@ int imap_parse_path (const char *path, IMAP_MBOX *mx)
        return (-1);
       }
     }
+  }
+
 #ifdef USE_SSL
-    else if (option (OPTIMAPFORCESSL))
-      imap_set_ssl (mx);
+  if (option (OPTIMAPFORCESSL))
+    imap_set_ssl (mx);
 #endif
-  }
 
   return 0;
 }