mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:smbd: add some const to req_is_in_chain()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
be98c1c889
commit
b80111adb3
@ -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)) {
|
||||
/*
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user