client.c: Changed shadowed variable.
[kai/samba.git] / source3 / client / client.c
index 403eea2fc99f5aaeb7b7151e0fc03fe7d3939ef1..6d85bd8807fe4a5419b51d5f9f93544a280a83f2 100644 (file)
@@ -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));
          }