@@ -2031,6 +2031,7 @@ static void server_dns_callback(int id, void *client_data, const char *host, bd:
if (ssl_use) { /* kyotou */
if (net_switch_to_ssl(serv) == 0) {
putlog(LOG_SERV, "*", "SSL Failed to connect to %s (Error while switching to SSL)", dcc[servidx].host);
+ trying_server = 0;
lostdcc(servidx);
return;
}