summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-05 09:31:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:46 -0500
commitbaff088fedf8eb47fd574788aff1ed5a91bd7aa2 (patch)
tree25458a290b11ed5c29053e7db10bab96259aa092 /source4
parent694a8e7402f446fec848b56e876d031654550175 (diff)
downloadsamba-baff088fedf8eb47fd574788aff1ed5a91bd7aa2.tar.gz
samba-baff088fedf8eb47fd574788aff1ed5a91bd7aa2.tar.bz2
samba-baff088fedf8eb47fd574788aff1ed5a91bd7aa2.zip
r11515: Add some talloc_get_type
(This used to be commit 558c29971d5855308a9d8dfd21e8ac7ec24abc01)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc_smb.c b/source4/librpc/rpc/dcerpc_smb.c
index bc48d674bf..5d10be36f6 100644
--- a/source4/librpc/rpc/dcerpc_smb.c
+++ b/source4/librpc/rpc/dcerpc_smb.c
@@ -65,8 +65,8 @@ static void smb_read_callback(struct smbcli_request *req)
uint16_t frag_length;
NTSTATUS status;
- state = req->async.private;
- smb = state->c->transport.private;
+ state = talloc_get_type(req->async.private, struct smb_read_state);
+ smb = talloc_get_type(state->c->transport.private, struct smb_private);
io = state->io;
status = smb_raw_read_recv(state->req, io);