1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Don't ask twice for the password

(This used to be commit 8ebd92da01)
This commit is contained in:
Volker Lendecke 2003-08-14 21:57:11 +00:00
parent 4e8b36a574
commit 13a7870e42

View File

@ -2572,6 +2572,7 @@ static struct cli_state *do_connect(const char *server, const char *share)
char *pass = getpass("Password: ");
if (pass) {
pstrcpy(password, pass);
got_pass = 1;
}
}