summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 05:49:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 05:49:36 +0100
commitc537f7a91449728bbffdda628877f72db2d4e96b (patch)
treec8589d1c9a7dd0bd62ff8344dd8f523033cc7e37 /source4/torture
parent29177203e5da4cb42e0c5bc2f2981d6cffbe042c (diff)
downloadsamba-c537f7a91449728bbffdda628877f72db2d4e96b.tar.gz
samba-c537f7a91449728bbffdda628877f72db2d4e96b.tar.bz2
samba-c537f7a91449728bbffdda628877f72db2d4e96b.zip
Fix the build.
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/spoolss_notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c
index 71fdffa216..f9ff31a797 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -60,7 +60,7 @@ static NTSTATUS spoolss__op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_
/* unravel the NDR for the packet */
ndr_err = ndr_table_spoolss.calls[opnum].ndr_pull(pull, NDR_IN, *r);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
- dcerpc_log_packet(lp_lockdir(dce_call->conn->dce_ctx->lp_ctx),
+ dcerpc_log_packet(dce_call->conn->packet_log_dir,
&ndr_table_spoolss, opnum, NDR_IN,
&dce_call->pkt.u.request.stub_and_verifier);
dce_call->fault_code = DCERPC_FAULT_NDR;
@@ -103,7 +103,7 @@ static NTSTATUS spoolss__op_dispatch(struct dcesrv_call_state *dce_call, TALLOC_
}
if (dce_call->fault_code != 0) {
- dcerpc_log_packet(lp_lockdir(dce_call->conn->dce_ctx->lp_ctx),
+ dcerpc_log_packet(dce_call->conn->packet_log_dir,
&ndr_table_spoolss, opnum, NDR_IN,
&dce_call->pkt.u.request.stub_and_verifier);
return NT_STATUS_NET_WRITE_FAULT;