Skip to content
Snippets Groups Projects
Commit 64ff6820 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't copy the name to the address.

The DNS lookup can cause delays on some systems.
Fixes bug 154
parent 1fecea06
No related branches found
No related tags found
No related merge requests found
Pipeline #6846 passed
......@@ -2976,9 +2976,6 @@ show_bbslist(char *current, int connected)
&(conn_types[1])) >= 0) {
list[listcount - 1]->conn_type++;
if (IS_NETWORK_CONN(list[listcount - 1]->conn_type)) {
/* Default address to name, if appears to be address */
if (isResolvableHostname(list[listcount - 1]->name))
SAFECOPY(list[listcount - 1]->addr, list[listcount - 1]->name);
/* Set the port too */
j = conn_ports[list[listcount - 1]->conn_type];
if ((j < 1) || (j > 65535))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment