diff options
author | Jeremy Allison <jra@samba.org> | 2004-05-13 23:34:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:35 -0500 |
commit | 5cc86fe405ba6d0d241270942bc0988db7efd053 (patch) | |
tree | ee964008f916d3728ecb86b7b4f615c1f524437a /source3/client | |
parent | d7af7a26195da2146a16bf9950abcac716079fd7 (diff) | |
download | samba-5cc86fe405ba6d0d241270942bc0988db7efd053.tar.gz samba-5cc86fe405ba6d0d241270942bc0988db7efd053.tar.bz2 samba-5cc86fe405ba6d0d241270942bc0988db7efd053.zip |
r710: Fix smbclient symlink command when widelinks = no.
Jeremy.
(This used to be commit ed699a73f899b3212185ecf52d1c4cd59cc8a7ea)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 3 |
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)) { |