From 5cc86fe405ba6d0d241270942bc0988db7efd053 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 13 May 2004 23:34:00 +0000 Subject: r710: Fix smbclient symlink command when widelinks = no. Jeremy. (This used to be commit ed699a73f899b3212185ecf52d1c4cd59cc8a7ea) --- source3/client/client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/client/client.c') 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)) { -- cgit