summaryrefslogtreecommitdiff
path: root/source3/librpc/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-15 19:33:15 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-17 10:58:10 +0200
commit0a98fdd504b7acfdc821fd11c70b015981ba777c (patch)
treee821b09b145d3284f0aeaa4ac263319c5004da01 /source3/librpc/rpc
parente3246e8720c74bb62a2b86b21f6147ea6f050054 (diff)
downloadsamba-0a98fdd504b7acfdc821fd11c70b015981ba777c.tar.gz
samba-0a98fdd504b7acfdc821fd11c70b015981ba777c.tar.bz2
samba-0a98fdd504b7acfdc821fd11c70b015981ba777c.zip
fix return code.
(This used to be commit d356baae802d36909c3c990b834a4a37aba736f4)
Diffstat (limited to 'source3/librpc/rpc')
-rw-r--r--source3/librpc/rpc/dcerpc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/librpc/rpc/dcerpc.c b/source3/librpc/rpc/dcerpc.c
index f297c7200e..b1ebabb925 100644
--- a/source3/librpc/rpc/dcerpc.c
+++ b/source3/librpc/rpc/dcerpc.c
@@ -61,6 +61,8 @@ struct rpc_request *dcerpc_ndr_request_send(struct dcerpc_pipe *p, const struct
ret->opnum = opnum;
+ ret->pipe = p;
+
return ret;
}
@@ -104,7 +106,7 @@ NTSTATUS dcerpc_ndr_request_recv(struct rpc_request *req)
return ndr_map_error2ntstatus(ndr_err);
}
- return NT_STATUS_NOT_IMPLEMENTED;
+ return NT_STATUS_OK;
}
_PUBLIC_ NTSTATUS dcerpc_pipe_connect(TALLOC_CTX *parent_ctx, struct dcerpc_pipe **pp,