diff options
Diffstat (limited to 'source4/rpc_server/srvsvc/dcesrv_srvsvc.c')
-rw-r--r-- | source4/rpc_server/srvsvc/dcesrv_srvsvc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c index 611916c52c9..8ccfe6babf5 100644 --- a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c +++ b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c @@ -431,13 +431,13 @@ static WERROR dcesrv_srvsvc_NetShareAdd(struct dcesrv_call_state *dce_call, TALL info[i].name = SHARE_TYPE; info[i].type = SHARE_INFO_STRING; switch (r->in.info->info2->type) { - case 0x00: + case STYPE_DISKTREE: info[i].value = talloc_strdup(info, "DISK"); break; - case 0x01: + case STYPE_PRINTQ: info[i].value = talloc_strdup(info, "PRINTER"); break; - case 0x03: + case STYPE_IPC: info[i].value = talloc_strdup(info, "IPC"); break; default: |