mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-02 12:30:24 +08:00
Cygwin: AF_UNIX: peek_pipe_poll: fix thinko
The variable 'sleep_time' was being reset to 0 on every loop iteration.
This commit is contained in:
parent
2547ad3807
commit
9e6f77d4ef
@ -1168,10 +1168,10 @@ fhandler_socket_unix::peek_pipe_poll (PFILE_PIPE_PEEK_BUFFER pbuf,
|
||||
HANDLE ph)
|
||||
{
|
||||
NTSTATUS status;
|
||||
DWORD sleep_time = 0;
|
||||
|
||||
while (1)
|
||||
{
|
||||
DWORD sleep_time = 0;
|
||||
DWORD waitret;
|
||||
|
||||
io_lock ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user