git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
694a8e7
)
r11515: Add some talloc_get_type
author
Volker Lendecke
<vlendec@samba.org>
Sat, 5 Nov 2005 09:31:24 +0000
(09:31 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:45:46 +0000
(13:45 -0500)
(This used to be commit
558c29971d5855308a9d8dfd21e8ac7ec24abc01
)
source4/librpc/rpc/dcerpc_smb.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc_smb.c
b/source4/librpc/rpc/dcerpc_smb.c
index bc48d674bf53685ef5e75f5084f74337bddfcaa1..5d10be36f659ebc5ab0981707e6c53fbd0c99ca5 100644
(file)
--- 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);