summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-02-20 23:19:39 +0000
committerJeremy Allison <jra@samba.org>2004-02-20 23:19:39 +0000
commitef8f8274492c142765a94cc453d3da640c9fef91 (patch)
tree99888169ce55fdbd5564fd66468ed4f297edd371 /source3/libsmb
parent7d7849b18a625820b1fba05bd17a718c7f98837e (diff)
downloadsamba-ef8f8274492c142765a94cc453d3da640c9fef91.tar.gz
samba-ef8f8274492c142765a94cc453d3da640c9fef91.tar.bz2
samba-ef8f8274492c142765a94cc453d3da640c9fef91.zip
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy. (This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clirap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c
index c4b08d21d8..9c10e9d938 100644
--- a/source3/libsmb/clirap.c
+++ b/source3/libsmb/clirap.c
@@ -669,7 +669,7 @@ BOOL cli_qfileinfo_test(struct cli_state *cli, int fnum, int level, char **poutd
return False;
}
- memdup(poutdata, data_len);
+ *poutdata = memdup(rdata, data_len);
*poutlen = data_len;
SAFE_FREE(rdata);