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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user