diff options
author | Jeremy Allison <jra@samba.org> | 2000-05-15 17:13:50 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-05-15 17:13:50 +0000 |
commit | b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9 (patch) | |
tree | 11a5a8269819e66f95dd34c0d6974898b047a46d /source3/rpc_server | |
parent | 32a7cf9188672b0c4766056eb762972f8488aa8e (diff) | |
download | samba-b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9.tar.gz samba-b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9.tar.bz2 samba-b27886addbdb1ff7c8e678023c7c1ef6d3bba9a9.zip |
passdb/secrets.c: Fix typo in comment.
rpc_server/srv_pipe.c: Use accessor functions rather than diddling with structure
internals directly.
smbd/process.c:
smbd/reply.c: Remove READ_PREDICTION #ifdefs.
Jeremy.
(This used to be commit eba825ff030a175bd271caa6f543379dfdbbd646)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 853c1b8ed6..ebd4f55fce 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -1107,7 +1107,7 @@ BOOL api_rpcTNP(pipes_struct *p, char *rpc_name, struct api_struct *api_rpc_cmds return True; } - offset1 = p->out_data.rdata.data_offset; + offset1 = prs_offset(&p->out_data.rdata); /* do the actual command */ if(!api_rpc_cmds[fn_num].fn(rpc_in, &p->out_data.rdata)) { @@ -1117,10 +1117,10 @@ BOOL api_rpcTNP(pipes_struct *p, char *rpc_name, struct api_struct *api_rpc_cmds } slprintf(name, sizeof(name), "out_%s", rpc_name); - offset2 = p->out_data.rdata.data_offset; - p->out_data.rdata.data_offset = offset1; + offset2 = prs_offset(&p->out_data.rdata); + prs_set_offset(&p->out_data.rdata, offset1); prs_dump(name, p->hdr_req.opnum, &p->out_data.rdata); - p->out_data.rdata.data_offset = offset2; + prs_set_offset(&p->out_data.rdata, offset2); DEBUG(5,("api_rpcTNP: called %s successfully\n", rpc_name)); |