summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 20:53:28 +0100
committerGünther Deschner <gd@samba.org>2008-10-31 02:44:33 +0100
commit7255209177e8ad97689d6c2c033d1423ee775075 (patch)
treece646693d6858d19bb3d1001f089832aeb2b00d6 /source4
parentb70d984f8fd8e3f67859c15a94099672971282f2 (diff)
downloadsamba-7255209177e8ad97689d6c2c033d1423ee775075.tar.gz
samba-7255209177e8ad97689d6c2c033d1423ee775075.tar.bz2
samba-7255209177e8ad97689d6c2c033d1423ee775075.zip
s4-srvsvc: merge srvsvc_NetFileGetInfo from s3 idl.
Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/idl/srvsvc.idl2
-rw-r--r--source4/rpc_server/srvsvc/dcesrv_srvsvc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/idl/srvsvc.idl b/source4/librpc/idl/srvsvc.idl
index 84d025ab29..bb186e1a94 100644
--- a/source4/librpc/idl/srvsvc.idl
+++ b/source4/librpc/idl/srvsvc.idl
@@ -274,7 +274,7 @@ import "security.idl", "svcctl.idl";
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
[in] uint32 fid,
[in] uint32 level,
- [out,switch_is(level)] srvsvc_NetFileInfo info
+ [out,switch_is(level),ref] srvsvc_NetFileInfo *info
);
/******************/
diff --git a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
index c08a7d3626..9e43317ae8 100644
--- a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
+++ b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
@@ -308,7 +308,7 @@ static WERROR dcesrv_srvsvc_NetFileEnum(struct dcesrv_call_state *dce_call, TALL
static WERROR dcesrv_srvsvc_NetFileGetInfo(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct srvsvc_NetFileGetInfo *r)
{
- ZERO_STRUCT(r->out);
+ ZERO_STRUCTP(r->out.info);
switch (r->in.level) {
case 2: