diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-08-05 20:46:35 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-08-06 20:02:32 +0200 |
commit | 9e9d784def6f0465075e0f0ce6243daaab277d90 (patch) | |
tree | 9c5ced07f849a6d62cba127342ef3cbb4b2f188e /source3/smbd | |
parent | c1b345425997bc56a9dffd910b674e6820638337 (diff) | |
download | samba-9e9d784def6f0465075e0f0ce6243daaab277d90.tar.gz samba-9e9d784def6f0465075e0f0ce6243daaab277d90.tar.bz2 samba-9e9d784def6f0465075e0f0ce6243daaab277d90.zip |
s3:smb2_server: remove const from smbd_smb2_first_negprot()
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/globals.h | 2 | ||||
-rw-r--r-- | source3/smbd/smb2_server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index cf9d01b9f7..9a8910cdfd 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -219,7 +219,7 @@ bool smbd_is_smb2_header(const uint8_t *inbuf, size_t size); void reply_smb2002(struct smb_request *req, uint16_t choice); void reply_smb20ff(struct smb_request *req, uint16_t choice); void smbd_smb2_first_negprot(struct smbd_server_connection *sconn, - const uint8_t *inbuf, size_t size); + uint8_t *inbuf, size_t size); NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req, NTSTATUS status, diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 4c76c69dd6..7334f93f90 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -2917,7 +2917,7 @@ static NTSTATUS smbd_smb2_request_next_incoming(struct smbd_server_connection *s } void smbd_smb2_first_negprot(struct smbd_server_connection *sconn, - const uint8_t *inbuf, size_t size) + uint8_t *inbuf, size_t size) { NTSTATUS status; struct smbd_smb2_request *req = NULL; |