1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00

Simplify params of srvstr_pull_buf_talloc()

Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc()
to srvstr_pull_req()
This commit is contained in:
Volker Lendecke
2008-11-02 01:07:46 +01:00
parent 2bd5ac86ff
commit a31fab8156
7 changed files with 37 additions and 49 deletions

View File

@@ -25,5 +25,6 @@
end of the smbbuf area
*/
#define srvstr_pull_buf_talloc(ctx, inbuf, smb_flags2, dest, src, flags) \
pull_string_talloc(ctx, inbuf, smb_flags2, dest, src, smb_bufrem(inbuf, src), flags)
#define srvstr_pull_req_talloc(ctx, req_, dest, src, flags) \
pull_string_talloc(ctx, req_->inbuf, req_->flags2, dest, src, \
smb_bufrem(req_->inbuf, src), flags)