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/ipc.c | |
parent | 2bd5ac86ffc9f7610b0205092e4cc9cdccb4752f (diff) | |
download | samba-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/ipc.c')
-rw-r--r-- | source3/smbd/ipc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index d11c8c7cd5..1f6443f1d7 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -543,8 +543,8 @@ void reply_trans(struct smb_request *req) state->close_on_completion = BITSETW(req->inbuf+smb_vwv5,0); state->one_way = BITSETW(req->inbuf+smb_vwv5,1); - srvstr_pull_buf_talloc(state, req->inbuf, req->flags2, &state->name, - req->buf, STR_TERMINATE); + srvstr_pull_req_talloc(state, req, &state->name, req->buf, + STR_TERMINATE); if ((dscnt > state->total_data) || (pscnt > state->total_param) || !state->name) |