summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-02-20 23:19:36 +0000
committerJeremy Allison <jra@samba.org>2004-02-20 23:19:36 +0000
commite1b5599cc7f138424bbcec87822e6f5d3672d286 (patch)
tree1f59b6638b5da9d1c178df98a6a6f26282dad3fc /source3/libsmb
parente5c79dd79eb86c4fa790cd919056ed0fca3c73c1 (diff)
downloadsamba-e1b5599cc7f138424bbcec87822e6f5d3672d286.tar.gz
samba-e1b5599cc7f138424bbcec87822e6f5d3672d286.tar.bz2
samba-e1b5599cc7f138424bbcec87822e6f5d3672d286.zip
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy. (This used to be commit a6cb7af9bad1610e802fa5cddbf68fb887bc2974)
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 721d3dcb47..f8204e05d6 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);