summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-13 21:53:51 +0000
committerJeremy Allison <jra@samba.org>2000-10-13 21:53:51 +0000
commit359048cc74c0b271f1a961f59d43422c682f1e84 (patch)
treeac06242c808f642e7af729bf2f17913f95d7706a
parent6d475b7217139a5625f6f53d940e46a63528fd43 (diff)
downloadsamba-359048cc74c0b271f1a961f59d43422c682f1e84.tar.gz
samba-359048cc74c0b271f1a961f59d43422c682f1e84.tar.bz2
samba-359048cc74c0b271f1a961f59d43422c682f1e84.zip
Fixes to get ms-dfs code to compile with the new changes.
Jeremy (This used to be commit d712b5b071eff89eca547678cd1652263708abfb)
-rw-r--r--source3/rpc_server/srv_dfs.c5
1 files changed, 3 insertions, 2 deletions
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;