diff options
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_smb.c | 4 |
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); |