Merge pull request #4468 from akallabeth/transport_fix_handle

Fix invalid handle offset.
This commit is contained in:
Bernhard Miklautz 2018-03-06 15:08:57 +01:00 committed by GitHub
commit 01388c17ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -954,7 +954,7 @@ void transport_get_fds(rdpTransport* transport, void** rfds, int* rcount)
rfds[index] = GetEventWaitObject(events[index]);
}
rfds[nCount + 1] = GetEventWaitObject(transport->rereadEvent);
rfds[nCount] = GetEventWaitObject(transport->rereadEvent);
}
BOOL transport_is_write_blocked(rdpTransport* transport)