63 |
for (ca = accounts; ca; ca = ca->next) { |
for (ca = accounts; ca; ca = ca->next) { |
64 |
|
|
65 |
#ifndef SSL_TLS |
#ifndef SSL_TLS |
66 |
if (init_connection(ca->server, ca->port)) { |
if (init_connection(ca->server, ca->port)) |
67 |
#else |
#else |
68 |
if (init_connection(ca->server, ca->port, ca->ssl)) { |
if (init_connection(ca->server, ca->port, ca->ssl)) |
69 |
#endif |
#endif |
70 |
close_logfile(); |
continue; |
71 |
exit(ERROR_NETWORK); |
|
|
} |
|
72 |
r = greeting_response(); |
r = greeting_response(); |
73 |
|
|
74 |
if (r == RESPONSE_BYE || check_capabilities()) |
if (r == RESPONSE_BYE || check_capabilities()) |