From: Volker Lendecke Date: Sun, 2 Nov 2008 00:27:41 +0000 (+0100) Subject: Rename "inbuf" to "base_ptr" in srvstr_get_path_* X-Git-Tag: samba-4.0.0alpha6~522^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e48364af2f53436e1110bb942665a2fa19a26322;p=thirdparty%2Fsamba.git Rename "inbuf" to "base_ptr" in srvstr_get_path_* --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index ebd85bcd28a..c7722804b3a 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -208,7 +208,7 @@ NTSTATUS check_path_syntax_posix(char *path) ****************************************************************************/ size_t srvstr_get_path_wcard(TALLOC_CTX *ctx, - const char *inbuf, + const char *base_ptr, uint16 smb_flags2, char **pp_dest, const char *src, @@ -221,8 +221,8 @@ size_t srvstr_get_path_wcard(TALLOC_CTX *ctx, *pp_dest = NULL; - ret = srvstr_pull_talloc(ctx, inbuf, smb_flags2, pp_dest, src, src_len, - flags); + ret = srvstr_pull_talloc(ctx, base_ptr, smb_flags2, pp_dest, src, + src_len, flags); if (!*pp_dest) { *err = NT_STATUS_INVALID_PARAMETER; @@ -254,7 +254,7 @@ size_t srvstr_get_path_wcard(TALLOC_CTX *ctx, ****************************************************************************/ size_t srvstr_get_path(TALLOC_CTX *ctx, - const char *inbuf, + const char *base_ptr, uint16 smb_flags2, char **pp_dest, const char *src, @@ -263,7 +263,7 @@ size_t srvstr_get_path(TALLOC_CTX *ctx, NTSTATUS *err) { bool ignore; - return srvstr_get_path_wcard(ctx, inbuf, smb_flags2, pp_dest, src, + return srvstr_get_path_wcard(ctx, base_ptr, smb_flags2, pp_dest, src, src_len, flags, err, &ignore); }