s3:smbd: let srvstr_pull_req_talloc() take 'const uint8_t *src'
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Feb 2014 19:16:26 +0000 (20:16 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 2 Apr 2014 07:03:43 +0000 (09:03 +0200)
commit427db654acec8e66e4c272b4e515c584ccb368c7
tree640bb6178c14ee6d452c86415a7ddcb419b1a1fb
parent0cf9f9d9139b1f1ceac1a8d37ca450da82f09c8c
s3:smbd: let srvstr_pull_req_talloc() take 'const uint8_t *src'

This is the correct thing to do the smb request buffer contains
just bytes (uint8_t).

It also avoids strange casting in the callers.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/message.c
source3/smbd/proto.h
source3/smbd/reply.c
source3/smbd/sesssetup.c