diff options
author | Volker Lendecke <vl@samba.org> | 2008-11-02 01:07:46 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-11-02 09:22:40 +0100 |
commit | a31fab81568ed2b4314ea05740423aceb5d7c977 (patch) | |
tree | 8b4c061cc881025cdf8ccb5de9cdcad796c2b555 /source3/smbd/nttrans.c | |
parent | 2bd5ac86ffc9f7610b0205092e4cc9cdccb4752f (diff) | |
download | samba-a31fab81568ed2b4314ea05740423aceb5d7c977.tar.gz samba-a31fab81568ed2b4314ea05740423aceb5d7c977.tar.xz samba-a31fab81568ed2b4314ea05740423aceb5d7c977.zip |
Simplify params of srvstr_pull_buf_talloc()
Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc()
to srvstr_pull_req()
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 3749abffe8d..000055470e1 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -307,8 +307,7 @@ static void do_ntcreate_pipe_open(connection_struct *conn, uint32 flags = IVAL(req->inbuf,smb_ntcreate_Flags); TALLOC_CTX *ctx = talloc_tos(); - srvstr_pull_buf_talloc(ctx, (char *)req->inbuf, req->flags2, &fname, - req->buf, STR_TERMINATE); + srvstr_pull_req_talloc(ctx, req, &fname, req->buf, STR_TERMINATE); if (!fname) { reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND, |