[PATCH] Test the correct handle

Joris Huizer (none) jorishuizer at debian.
Sat Mar 15 12:54:08 CDT 2008


---
 dlls/qmgr/tests/job.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/qmgr/tests/job.c b/dlls/qmgr/tests/job.c
index cc64b0c..fe58fa3 100644
--- a/dlls/qmgr/tests/job.c
+++ b/dlls/qmgr/tests/job.c
@@ -319,7 +319,7 @@ static void compareFiles(WCHAR *n1, WCHAR *n2)
 
     f2 = CreateFileW(n2, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING,
                      FILE_ATTRIBUTE_NORMAL, NULL);
-    ok(f1 != INVALID_HANDLE_VALUE, "CreateFile\n");
+    ok(f2 != INVALID_HANDLE_VALUE, "CreateFile\n");
 
     /* Neither of these files is very big */
     ok(ReadFile(f1, b1, sizeof b1, &s1, NULL), "ReadFile\n");
-- 
1.5.1


--0-997057352-1205603564=:82617--



More information about the wine-patches mailing list