]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Rename construct_reply_common() -> construct_smb1_reply_common().
authorJeremy Allison <jra@samba.org>
Tue, 5 Apr 2022 01:42:02 +0000 (18:42 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 7 Apr 2022 17:37:30 +0000 (17:37 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
source3/smbd/smb2_process.c

index 47f7542a59e8bc6c7a4ebf4bb212d103f71279c2..fb642312413f311669bab7de9c230f7b06a868a7 100644 (file)
@@ -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