From 359048cc74c0b271f1a961f59d43422c682f1e84 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 13 Oct 2000 21:53:51 +0000 Subject: Fixes to get ms-dfs code to compile with the new changes. Jeremy (This used to be commit d712b5b071eff89eca547678cd1652263708abfb) --- source3/rpc_server/srv_dfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_dfs.c b/source3/rpc_server/srv_dfs.c index 62acbaa6cc..7aadd0719c 100644 --- a/source3/rpc_server/srv_dfs.c +++ b/source3/rpc_server/srv_dfs.c @@ -37,7 +37,6 @@ extern pstring global_myname; static BOOL api_dfs_exist(pipes_struct *p) { DFS_R_DFS_EXIST r_d; - prs_struct *data = &p->in_data.data; prs_struct *rdata = &p->out_data.rdata; if(lp_host_msdfs()) @@ -109,7 +108,7 @@ static uint32 init_reply_dfs_add(DFS_Q_DFS_ADD* q_a) /***************************************************************** api_dfs_add *****************************************************************/ -static BOOL api_dfs_add(pipes-struct *p) +static BOOL api_dfs_add(pipes_struct *p) { DFS_Q_DFS_ADD q_a; DFS_R_DFS_ADD r_a; @@ -204,6 +203,8 @@ static BOOL api_dfs_remove(pipes_struct *p) { DFS_Q_DFS_REMOVE q_r; DFS_R_DFS_REMOVE r_r; + prs_struct *data = &p->in_data.data; + prs_struct *rdata = &p->out_data.rdata; if(!dfs_io_q_dfs_remove("", &q_r, data, 0)) return False; -- cgit