logins completely, with or without a supplied username. Ahem.
git-svn-id: http://svn.tartarus.org/sgt/putty@9471
cda61777-01e9-0310-a592-
d414129be87e
* in which case we prompt for it and may end up deferring doing
* anything else until the local prompt mechanism returns.
*/
* in which case we prompt for it and may end up deferring doing
* anything else until the local prompt mechanism returns.
*/
- if ((ruser = get_remote_username(conf)) == NULL) {
+ if ((ruser = get_remote_username(conf)) != NULL) {
rlogin_startup(rlogin, ruser);
sfree(ruser);
} else {
rlogin_startup(rlogin, ruser);
sfree(ruser);
} else {