summaryrefslogtreecommitdiff
path: root/source3/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/client.c')
-rw-r--r--source3/client/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index f2f43656cb..a0470315f8 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1650,7 +1650,6 @@ static int cmd_symlink(void)
return 1;
}
- pstrcpy(oldname,cur_dir);
pstrcpy(newname,cur_dir);
if (!next_token_nr(NULL,buf,NULL,sizeof(buf)) ||
@@ -1659,7 +1658,7 @@ static int cmd_symlink(void)
return 1;
}
- pstrcat(oldname,buf);
+ pstrcpy(oldname,buf);
pstrcat(newname,buf2);
if (!cli_unix_symlink(cli, oldname, newname)) {