summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-06 14:35:13 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-06 17:18:14 +0200
commit8a2290667ca4c530321d366d3dd09f4757e9ac1d (patch)
tree576cd215054288d77b6b76f234de059093a39ef8 /source3/libsmb/clirap.h
parenta1df729f7b498c770a013ddabb38d0b2e8608b67 (diff)
downloadsamba-8a2290667ca4c530321d366d3dd09f4757e9ac1d.tar.gz
samba-8a2290667ca4c530321d366d3dd09f4757e9ac1d.tar.bz2
samba-8a2290667ca4c530321d366d3dd09f4757e9ac1d.zip
s3:libsmb: use clistr_pull_talloc() in cli_qfilename()
metze
Diffstat (limited to 'source3/libsmb/clirap.h')
-rw-r--r--source3/libsmb/clirap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clirap.h b/source3/libsmb/clirap.h
index 1716e17eec..de770dba7e 100644
--- a/source3/libsmb/clirap.h
+++ b/source3/libsmb/clirap.h
@@ -94,8 +94,8 @@ NTSTATUS cli_qpathinfo_streams(struct cli_state *cli, const char *fname,
TALLOC_CTX *mem_ctx,
unsigned int *pnum_streams,
struct stream_struct **pstreams);
-NTSTATUS cli_qfilename(struct cli_state *cli, uint16_t fnum, char *name,
- size_t namelen);
+NTSTATUS cli_qfilename(struct cli_state *cli, uint16_t fnum,
+ TALLOC_CTX *mem_ctx, char **name);
NTSTATUS cli_qfileinfo_basic(struct cli_state *cli, uint16_t fnum,
uint16 *mode, SMB_OFF_T *size,
struct timespec *create_time,