summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-08-14 21:57:11 +0000
committerVolker Lendecke <vlendec@samba.org>2003-08-14 21:57:11 +0000
commit13a7870e427b425a149424a99e40093e9bec88c9 (patch)
treea407cd5792ac7a84e7c52bdbbadec307d867664d /source3
parent4e8b36a5749f4801022617b8fec1fe5d48529fef (diff)
downloadsamba-13a7870e427b425a149424a99e40093e9bec88c9.tar.gz
samba-13a7870e427b425a149424a99e40093e9bec88c9.tar.bz2
samba-13a7870e427b425a149424a99e40093e9bec88c9.zip
Don't ask twice for the password
(This used to be commit 8ebd92da01a72b26df769125f51934796e9e3d4f)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 262ac41798..67fadd11a8 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -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;
}
}