summaryrefslogtreecommitdiffstats
path: root/source/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/client/client.c')
-rw-r--r--source/client/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 403eea2fc99..6d85bd8807f 100644
--- a/source/client/client.c
+++ b/source/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));
}