1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

r11515: Add some talloc_get_type

This commit is contained in:
Volker Lendecke 2005-11-05 09:31:24 +00:00 committed by Gerald (Jerry) Carter
parent b2372cad36
commit 558c29971d

View File

@ -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);