summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-09 17:25:40 +0100
committerVolker Lendecke <vl@samba.org>2008-11-28 10:06:32 +0100
commit2bb90b7a88518844c1fcb8177cefcbc5b8ecda99 (patch)
tree6f31ac877b86bd64dddbe5946cce7fbaff6dc4cd /source3/rpc_server
parenta790dcbc4ec2f3b29045ab9919cca5a9ca038e26 (diff)
downloadsamba-2bb90b7a88518844c1fcb8177cefcbc5b8ecda99.tar.gz
samba-2bb90b7a88518844c1fcb8177cefcbc5b8ecda99.tar.bz2
samba-2bb90b7a88518844c1fcb8177cefcbc5b8ecda99.zip
Remove "conn" parameter from np_open, smb_request contains it
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 03a0f72b33..1cff95dcab 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -1078,9 +1078,10 @@ static struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
return NULL;
}
-NTSTATUS np_open(struct smb_request *smb_req, struct connection_struct *conn,
- const char *name, struct files_struct **pfsp)
+NTSTATUS np_open(struct smb_request *smb_req, const char *name,
+ struct files_struct **pfsp)
{
+ struct connection_struct *conn = smb_req->conn;
NTSTATUS status;
struct files_struct *fsp;
const char **proxy_list;