1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r11515: Add some talloc_get_type

(This used to be commit 558c29971d5855308a9d8dfd21e8ac7ec24abc01)
This commit is contained in:
Volker Lendecke 2005-11-05 09:31:24 +00:00 committed by Gerald (Jerry) Carter
parent 694a8e7402
commit baff088fed

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