summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-05 20:46:35 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-06 20:02:32 +0200
commit9e9d784def6f0465075e0f0ce6243daaab277d90 (patch)
tree9c5ced07f849a6d62cba127342ef3cbb4b2f188e /source3
parentc1b345425997bc56a9dffd910b674e6820638337 (diff)
downloadsamba-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')
-rw-r--r--source3/smbd/globals.h2
-rw-r--r--source3/smbd/smb2_server.c2
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;