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

Always ask for conection type when adding a new BBS.

parent 6d0918db
No related branches found
No related tags found
No related merge requests found
...@@ -338,16 +338,14 @@ struct bbslist *show_bbslist(int mode, char *path) ...@@ -338,16 +338,14 @@ struct bbslist *show_bbslist(int mode, char *path)
j=0; j=0;
list[listcount-1]->port=j; list[listcount-1]->port=j;
} }
if(list[listcount-1]->port != 513) { uifc.helpbuf= "`Connection Type`\n\n"
uifc.helpbuf= "`Connection Type`\n\n" "Select the type of connection you wish to make:\n"
"Select the type of connection you wish to make:\n" "~ RLogin:~ Auto-login with RLogin protocol\n"
"~ RLogin:~ Auto-login with RLogin protocol\n" "~ Telnet:~ Use more common Telnet protocol (experimental)\n"
"~ Telnet:~ Use more common Telnet protocol (experimental)\n" "~ Raw: ~ Make a raw socket connection (experimental)\n";
"~ Raw: ~ Make a raw socket connection (experimental)\n"; list[listcount-1]->conn_type=CONN_TYPE_RLOGIN;
list[listcount-1]->conn_type=CONN_TYPE_RLOGIN; uifc.list(WIN_MID|WIN_SAV,0,0,0,&list[listcount-1]->conn_type,NULL,"Connection Type",&conn_types[1]);
uifc.list(WIN_MID|WIN_SAV,0,0,0,&list[listcount-1]->conn_type,NULL,"Connection Type",&conn_types[1]); list[listcount-1]->conn_type++;
list[listcount-1]->conn_type++;
}
if(list[listcount-1]->conn_type==CONN_TYPE_RLOGIN) { if(list[listcount-1]->conn_type==CONN_TYPE_RLOGIN) {
uifc.helpbuf= "`Username`\n\n" uifc.helpbuf= "`Username`\n\n"
"Enter the username to attempt auto-login to the remote with."; "Enter the username to attempt auto-login to the remote with.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment