I'm fed up with stupid defines when C can come up with *way* betted: bit-fields.
[apps/madmutt.git] / lib-sys / mutt_socket.c
index af88be0..0acee2a 100644 (file)
@@ -230,7 +230,7 @@ CONNECTION *mutt_conn_find (const CONNECTION * start, const ACCOUNT * account)
 
   if (Tunnel && *Tunnel)
     mutt_tunnel_socket_setup (conn);
-  else if (account->flags & M_ACCT_SSL) {
+  else if (account->has_ssl) {
     if (mutt_ssl_socket_setup (conn) < 0) {
       mutt_socket_free (conn);
       return NULL;