|
|
@ -1244,11 +1244,11 @@ imap_open_store( store_conf_t *conf, store_t *oldctx ) |
|
|
|
info( "ok\n" ); |
|
|
|
info( "ok\n" ); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
memset( &addr, 0, sizeof(addr) ); |
|
|
|
memset( &addr, 0, sizeof(addr) ); |
|
|
|
addr.sin_port = htons( srvc->port ? srvc->port : |
|
|
|
addr.sin_port = srvc->port ? htons( srvc->port ) : |
|
|
|
#ifdef HAVE_LIBSSL |
|
|
|
#ifdef HAVE_LIBSSL |
|
|
|
srvc->use_imaps ? 993 : |
|
|
|
srvc->use_imaps ? htons( 993 ) : |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
143 ); |
|
|
|
htons( 143 ); |
|
|
|
addr.sin_family = AF_INET; |
|
|
|
addr.sin_family = AF_INET; |
|
|
|
|
|
|
|
|
|
|
|
info( "Resolving %s... ", srvc->host ); |
|
|
|
info( "Resolving %s... ", srvc->host ); |
|
|
|