summaryrefslogtreecommitdiff
path: root/source3/include
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/include
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/include')
-rw-r--r--source3/include/srvstr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/srvstr.h b/source3/include/srvstr.h
index 0e8e275655..d2de6805d3 100644
--- a/source3/include/srvstr.h
+++ b/source3/include/srvstr.h
@@ -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)