From: Jeremy Allison Date: Tue, 5 Apr 2022 01:42:02 +0000 (-0700) Subject: s3: smbd: Rename construct_reply_common() -> construct_smb1_reply_common(). X-Git-Tag: tevent-0.12.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d5e97f222ef261bb1808f40c89f6dc250aedcf5;p=thirdparty%2Fsamba.git s3: smbd: Rename construct_reply_common() -> construct_smb1_reply_common(). Signed-off-by: Jeremy Allison Reviewed-by: David Mulder --- diff --git a/source3/smbd/smb2_process.c b/source3/smbd/smb2_process.c index 47f7542a59e..fb642312413 100644 --- a/source3/smbd/smb2_process.c +++ b/source3/smbd/smb2_process.c @@ -482,7 +482,7 @@ bool push_deferred_open_message_smb(struct smb_request *req, #endif } -static void construct_reply_common(uint8_t cmd, const uint8_t *inbuf, +static void construct_smb1_reply_common(uint8_t cmd, const uint8_t *inbuf, char *outbuf) { uint16_t in_flags2 = SVAL(inbuf,smb_flg2); @@ -510,7 +510,7 @@ static void construct_reply_common(uint8_t cmd, const uint8_t *inbuf, void construct_reply_common_req(struct smb_request *req, char *outbuf) { - construct_reply_common(req->cmd, req->inbuf, outbuf); + construct_smb1_reply_common(req->cmd, req->inbuf, outbuf); } /******************************************************************* @@ -545,7 +545,7 @@ bool create_outbuf(TALLOC_CTX *mem_ctx, struct smb_request *req, return false; } - construct_reply_common(req->cmd, inbuf, *outbuf); + construct_smb1_reply_common(req->cmd, inbuf, *outbuf); srv_smb1_set_message(*outbuf, num_words, num_bytes, false); /* * Zero out the word area, the caller has to take care of the bcc area