summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-06 17:52:25 +0000
committerJeremy Allison <jra@samba.org>1997-10-06 17:52:25 +0000
commit2e92be3aaf01c574d32d1a10e1359888638b68bc (patch)
tree5280182dda3e36282bd11699e022e015ad531bdc /source3/client
parent8429cec72ff15efdd5ab742ba71ede36db43ef14 (diff)
downloadsamba-2e92be3aaf01c574d32d1a10e1359888638b68bc.tar.gz
samba-2e92be3aaf01c574d32d1a10e1359888638b68bc.tar.bz2
samba-2e92be3aaf01c574d32d1a10e1359888638b68bc.zip
client.c: Changed shadowed variable.
locking.c: Removed USE_OPLOCKS - now the default. params.c: Removed unused variable. proto.h: Updated. reply.c: Removed USE_OPLOCKS - now the default. server.c: Removed USE_OPLOCKS - now the default. smb.h: Removed USE_OPLOCKS - now the default. smbparse.c: Changed shadowed variable. status.c: Removed USE_OPLOCKS - now the default. util.c: Removed USE_OPLOCKS - now the default. Jeremy (jallison@whistle.com) (This used to be commit b93509846d6291771787af457500eec8984ee6bd)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 403eea2fc9..6d85bd8807 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -4562,12 +4562,12 @@ static void usage(char *pname)
break;
case 'U':
{
- char *p;
+ char *lp;
strcpy(username,optarg);
- if ((p=strchr(username,'%')))
+ if ((lp=strchr(username,'%')))
{
- *p = 0;
- strcpy(password,p+1);
+ *lp = 0;
+ strcpy(password,lp+1);
got_pass = True;
memset(strchr(optarg,'%')+1,'X',strlen(password));
}