summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-12-08 13:39:53 +0100
committerGünther Deschner <gd@samba.org>2009-01-06 16:02:12 +0100
commitb0f71378839f9276b3d7de2515c712a6c6618fda (patch)
tree0757e108c9a647944e72e5a8ac72302c5e5a4156 /source3/rpc_server
parenta94157c759e487b128946ddfa7073832287f6fce (diff)
downloadsamba-b0f71378839f9276b3d7de2515c712a6c6618fda.tar.gz
samba-b0f71378839f9276b3d7de2515c712a6c6618fda.tar.bz2
samba-b0f71378839f9276b3d7de2515c712a6c6618fda.zip
s3-srvsvc: remove all init_srvsvc* functions.
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index f6faf73b38..073f92d45c 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -191,12 +191,14 @@ static void enum_file_fn( const struct share_mode_entry *e,
permissions = e->access_mask & (FILE_READ_DATA|FILE_WRITE_DATA);
/* now fill in the srvsvc_NetFileInfo3 struct */
- init_srvsvc_NetFileInfo3(&fenum->ctr3->array[i],
- (((uint32_t)(procid_to_pid(&e->pid))<<16) | e->share_file_id),
- permissions,
- num_locks,
- fullpath,
- username);
+
+ fenum->ctr3->array[i].fid =
+ (((uint32_t)(procid_to_pid(&e->pid))<<16) | e->share_file_id);
+ fenum->ctr3->array[i].permissions = permissions;
+ fenum->ctr3->array[i].num_locks = num_locks;
+ fenum->ctr3->array[i].path = fullpath;
+ fenum->ctr3->array[i].user = username;
+
fenum->ctr3->count++;
}