From: Volker Lendecke Date: Sat, 1 Nov 2008 22:30:07 +0000 (+0100) Subject: The non-talloc versions of srvstr_pull are not longer needed X-Git-Tag: samba-4.0.0alpha6~543^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=334d590b5e769a7e893c59f06ebc5f44e76d13a6;p=thirdparty%2Fsamba.git The non-talloc versions of srvstr_pull are not longer needed --- diff --git a/source3/include/srvstr.h b/source3/include/srvstr.h index 588a807f64b..0e8e275655d 100644 --- a/source3/include/srvstr.h +++ b/source3/include/srvstr.h @@ -17,10 +17,6 @@ along with this program. If not, see . */ -#define srvstr_pull(base_ptr, smb_flags2, dest, src, dest_len, src_len, flags) \ - pull_string(base_ptr, smb_flags2, dest, src, dest_len, src_len, flags) - -/* talloc version of above. */ #define srvstr_pull_talloc(ctx, base_ptr, smb_flags2, dest, src, src_len, flags) \ pull_string_talloc(ctx, base_ptr, smb_flags2, dest, src, src_len, flags) @@ -29,9 +25,5 @@ end of the smbbuf area */ -#define srvstr_pull_buf(inbuf, smb_flags2, dest, src, dest_len, flags) \ - pull_string(inbuf, smb_flags2, dest, src, dest_len, smb_bufrem(inbuf, src), flags) - -/* talloc version of above. */ #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)