Konstantin Kondratyuk : ntdll: Correct a copy/paste mistake in NtWriteFile.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 4 07:11:08 CDT 2007


Module: wine
Branch: master
Commit: e84d2702524659094adce591d94a4eb87c3cffdd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e84d2702524659094adce591d94a4eb87c3cffdd

Author: Konstantin Kondratyuk <kondratyuk at etersoft.ru>
Date:   Thu May  3 15:14:25 2007 +0400

ntdll: Correct a copy/paste mistake in NtWriteFile.

---

 dlls/ntdll/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index c41d387..6912350 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -881,7 +881,7 @@ NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE hEvent,
             timeout = get_next_io_timeout( &timeouts, total );
 
             pfd.fd = unix_handle;
-            pfd.events = POLLIN;
+            pfd.events = POLLOUT;
 
             if (!timeout || !(ret = poll( &pfd, 1, timeout )))
             {




More information about the wine-cvs mailing list