Skip to content

Commit

Permalink
Merge pull request #2750 from realjiangms/fix_win32_wsaevent
Browse files Browse the repository at this point in the history
Fix event created for WSAEventSelect
  • Loading branch information
hardening committed Jul 2, 2015
2 parents b89ea3d + 75407ed commit ac93b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfreerdp/core/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static int transport_bio_simple_init(BIO* bio, SOCKET socket, int shutdown)
bio->init = 1;

#ifdef _WIN32
ptr->hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
ptr->hEvent = WSACreateEvent();

if (!ptr->hEvent)
return 0;
Expand Down

0 comments on commit ac93b26

Please sign in to comment.