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

Fix reversal of RLogin header fields... the username on the client (Password)

comes first.  Currently, support in Synchronet for this requires the USE_2ND_RLOGIN
option to be set in the [BBS] section of the .ini file.

I would like to make this the default for 3.20 any objections, speak up now.
parent 7b95a659
Branches
Tags
No related merge requests found
...@@ -91,8 +91,8 @@ int rlogin_connect(char *addr, int port, char *ruser, char *passwd) ...@@ -91,8 +91,8 @@ int rlogin_connect(char *addr, int port, char *ruser, char *passwd)
} }
rlogin_send("",1,1000); rlogin_send("",1,1000);
rlogin_send(ruser,strlen(ruser)+1,1000);
rlogin_send(passwd,strlen(passwd)+1,1000); rlogin_send(passwd,strlen(passwd)+1,1000);
rlogin_send(ruser,strlen(ruser)+1,1000);
rlogin_send("ansi-bbs/9600",14,1000); rlogin_send("ansi-bbs/9600",14,1000);
return(0); return(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment