summaryrefslogtreecommitdiff
path: root/source3/smbd/pipes.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-02 01:07:46 +0100
committerVolker Lendecke <vl@samba.org>2008-11-02 09:22:40 +0100
commita31fab81568ed2b4314ea05740423aceb5d7c977 (patch)
tree8b4c061cc881025cdf8ccb5de9cdcad796c2b555 /source3/smbd/pipes.c
parent2bd5ac86ffc9f7610b0205092e4cc9cdccb4752f (diff)
downloadsamba-a31fab81568ed2b4314ea05740423aceb5d7c977.tar.gz
samba-a31fab81568ed2b4314ea05740423aceb5d7c977.tar.bz2
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/pipes.c')
-rw-r--r--source3/smbd/pipes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index 2ce60c762e..0f4a0d7fec 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -48,8 +48,7 @@ void reply_open_pipe_and_X(connection_struct *conn, struct smb_request *req)
NTSTATUS status;
/* XXXX we need to handle passed times, sattr and flags */
- srvstr_pull_buf_talloc(ctx, req->inbuf, req->flags2, &pipe_name,
- req->buf, STR_TERMINATE);
+ srvstr_pull_req_talloc(ctx, req, &pipe_name, req->buf, STR_TERMINATE);
if (!pipe_name) {
reply_botherror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND,
ERRDOS, ERRbadpipe);