diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/ntapi_dsr_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/ntapi_dsr_init.c b/src/daemon/ntapi_dsr_init.c index 6e3951f..8f29eec 100644 --- a/src/daemon/ntapi_dsr_init.c +++ b/src/daemon/ntapi_dsr_init.c @@ -234,7 +234,7 @@ int32_t __stdcall __ntapi_dsr_create_port(nt_daemon_params * params) oa.root_dir = (void *)0; oa.obj_name = &server_name; oa.obj_attr = 0; - oa.sec_desc = (nt_security_descriptor *)0; + oa.sec_desc = params->port_sd; oa.sec_qos = &sqos; /* create the port */ |