diff options
-rw-r--r-- | source3/smbd/process.c | 2 | ||||
-rw-r--r-- | source3/smbd/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 1640cca60d..fcb970d77b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3631,7 +3631,7 @@ void smbd_process(struct tevent_context *ev_ctx, exit_server_cleanly(NULL); } -bool req_is_in_chain(struct smb_request *req) +bool req_is_in_chain(const struct smb_request *req) { if (req->vwv != (const uint16_t *)(req->inbuf+smb_vwv)) { /* diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index bd22dd3b59..7e13049ff8 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -801,7 +801,7 @@ bool smb1_parse_chain(TALLOC_CTX *mem_ctx, const uint8_t *buf, struct smbd_server_connection *sconn, bool encrypted, uint32_t seqnum, struct smb_request ***reqs, unsigned *num_reqs); -bool req_is_in_chain(struct smb_request *req); +bool req_is_in_chain(const struct smb_request *req); void smbd_process(struct tevent_context *ev_ctx, struct messaging_context *msg_ctx, int sock_fd, |