Skip to content
Snippets Groups Projects
Commit 89e6ca9d authored by deuce's avatar deuce
Browse files

Use bbs->addr for the port, not the modem device name.

parent 710669e7
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,7 @@ int modem_connect(struct bbslist *bbs) ...@@ -138,7 +138,7 @@ int modem_connect(struct bbslist *bbs)
init_uifc(TRUE, TRUE); init_uifc(TRUE, TRUE);
if(bbs->conn_type == CONN_TYPE_SERIAL) { if(bbs->conn_type == CONN_TYPE_SERIAL) {
if((com=comOpen(settings.mdm.device_name)) == COM_HANDLE_INVALID) { if((com=comOpen(bbs->addr)) == COM_HANDLE_INVALID) {
uifcmsg("Cannot Open Port", "`Cannot Open Port`\n\n" uifcmsg("Cannot Open Port", "`Cannot Open Port`\n\n"
"Cannot open the specified serial device.\n"); "Cannot open the specified serial device.\n");
conn_api.terminate=-1; conn_api.terminate=-1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment