summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-07-30 21:21:21 +0000
committermidipix <writeonce@midipix.org>2017-07-31 08:43:34 -0400
commit6c28503ec354c5ff192ed1492761a77178bc7bee (patch)
tree12264a9769bc75c75b105bfa5f4a52be86344aff
parente3a28479aedac37cb086056b5c8aeaa2c466d352 (diff)
downloadntapi-6c28503ec354c5ff192ed1492761a77178bc7bee.tar.bz2
ntapi-6c28503ec354c5ff192ed1492761a77178bc7bee.tar.xz
__ntapi_tty_create_session(): use the proper 'server ready' event type.
-rw-r--r--src/tty/ntapi_tty_create_session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty/ntapi_tty_create_session.c b/src/tty/ntapi_tty_create_session.c
index ac08ce4..3fa8657 100644
--- a/src/tty/ntapi_tty_create_session.c
+++ b/src/tty/ntapi_tty_create_session.c
@@ -165,7 +165,7 @@ int32_t __stdcall __ntapi_tty_create_session(
if ((status = __ntapi->tt_create_private_event(
&ssattr.hserver,
- NT_SYNCHRONIZATION_EVENT,
+ NT_NOTIFICATION_EVENT,
NT_EVENT_NOT_SIGNALED)))
return status;