From 27b7e51a3cc619f879655a3230611457ac43b9e7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 14 Jan 2003 08:53:59 +0000 Subject: Merge from HEAD: - fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9) --- source3/utils/smbcacls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils/smbcacls.c') diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index e41edcf6f8..a5cee0dae1 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -718,7 +718,7 @@ static struct cli_state *connect_one(const char *share) if (!got_pass) { char *pass = getpass("Password: "); if (pass) { - pstrcpy(password, pass); + fstrcpy(password, pass); got_pass = True; } } @@ -806,7 +806,7 @@ You can string acls together with spaces, commas or newlines\n\ if ((p=strchr_m(username,'%'))) { *p = 0; - pstrcpy(password,p+1); + fstrcpy(password,p+1); got_pass = True; memset(strchr_m(getenv("USER"), '%') + 1, 'X', strlen(password)); @@ -820,7 +820,7 @@ You can string acls together with spaces, commas or newlines\n\ p = strchr_m(username,'%'); if (p) { *p = 0; - pstrcpy(password, p+1); + fstrcpy(password, p+1); got_pass = 1; } break; -- cgit