summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc/ipc_rap.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-26 22:06:47 +0200
committerGünther Deschner <gd@samba.org>2010-04-26 22:52:45 +0200
commit1ede2a0577fa85100f95526386bc5298b565da8c (patch)
tree1fdcba37219b1949d5b5cf281d9b2fd3f9455217 /source4/ntvfs/ipc/ipc_rap.c
parent1055b3c229f9ab8b4d43a73346090bb72b88d607 (diff)
downloadsamba-1ede2a0577fa85100f95526386bc5298b565da8c.tar.gz
s4: rename RAP share_enum_info to share_info.
Guenther
Diffstat (limited to 'source4/ntvfs/ipc/ipc_rap.c')
-rw-r--r--source4/ntvfs/ipc/ipc_rap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/ntvfs/ipc/ipc_rap.c b/source4/ntvfs/ipc/ipc_rap.c
index 04ea70030ef..277e346c4b4 100644
--- a/source4/ntvfs/ipc/ipc_rap.c
+++ b/source4/ntvfs/ipc/ipc_rap.c
@@ -291,17 +291,17 @@ static NTSTATUS _rap_netshareenum(struct rap_call *call)
switch(r.in.level) {
case 0:
NDR_GOTO(ndr_push_bytes(call->ndr_push_data,
- (const uint8_t *)r.out.info[i].info0.name,
- sizeof(r.out.info[i].info0.name)));
+ (const uint8_t *)r.out.info[i].info0.share_name,
+ sizeof(r.out.info[i].info0.share_name)));
break;
case 1:
NDR_GOTO(ndr_push_bytes(call->ndr_push_data,
- (const uint8_t *)r.out.info[i].info1.name,
- sizeof(r.out.info[i].info1.name)));
+ (const uint8_t *)r.out.info[i].info1.share_name,
+ sizeof(r.out.info[i].info1.share_name)));
NDR_GOTO(ndr_push_uint8(call->ndr_push_data,
- NDR_SCALARS, r.out.info[i].info1.pad));
+ NDR_SCALARS, r.out.info[i].info1.reserved1));
NDR_GOTO(ndr_push_uint16(call->ndr_push_data,
- NDR_SCALARS, r.out.info[i].info1.type));
+ NDR_SCALARS, r.out.info[i].info1.share_type));
RAP_GOTO(rap_push_string(call->ndr_push_data,
call->heap,