summaryrefslogtreecommitdiffstats
path: root/source/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
commit0ea0ada6c609e1bb0fb4aace24e1beb7197495b5 (patch)
tree40199204b675c8b8305df5afb07f2c9ab5927474 /source/libsmb
parent5c6f8b1053fd1f170fbb76640649653f8aa80f18 (diff)
downloadsamba-0ea0ada6c609e1bb0fb4aace24e1beb7197495b5.tar.gz
samba-0ea0ada6c609e1bb0fb4aace24e1beb7197495b5.tar.xz
samba-0ea0ada6c609e1bb0fb4aace24e1beb7197495b5.zip
Make SMB_FILE_ACCESS_INFORMATION call work correctly.
Jeremy.
Diffstat (limited to 'source/libsmb')
-rw-r--r--source/libsmb/clirap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/clirap.c b/source/libsmb/clirap.c
index c4b08d21d81..9c10e9d938c 100644
--- a/source/libsmb/clirap.c
+++ b/source/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);