Let CheckServers() not only skip servers that already have a
connection, but also skip servers to which a new connection is
already beeing established (SERVER_WAIT state).
/* Check all configured servers */
for (i = 0; i < MAX_SERVERS; i++) {
- if (Conf_Server[i].conn_id > NONE)
- continue; /* Already connected */
+ if (Conf_Server[i].conn_id != NONE)
+ continue; /* Already establishing or connected */
if (!Conf_Server[i].host[0] || !Conf_Server[i].port > 0)
continue; /* No host and/or port configured */
if (Conf_Server[i].flags & CONF_SFLAG_DISABLED)