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

Do not succeed with unknown connect() types.

parent 6ab43721
No related branches found
No related tags found
No related merge requests found
......@@ -317,6 +317,8 @@ int conn_connect(struct bbslist *bbs)
conn_api.close=pty_close;
break;
#endif
default:
conn_api.terminate=1;
}
if(conn_api.connect) {
if(conn_api.connect(bbs)) {
......
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