Pierre d'Herbemont : ntdll: Fix NtQueryInformationThread on non x86.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 9 14:39:46 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 6d0e51fb66c7d22b7edcebac15d6fda2cc085dd0
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=6d0e51fb66c7d22b7edcebac15d6fda2cc085dd0

Author: Pierre d'Herbemont <stegefin at free.fr>
Date:   Thu Jun  8 22:32:59 2006 +0200

ntdll: Fix NtQueryInformationThread on non x86.

---

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

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index b2d0c55..10cb72b 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -1128,10 +1128,10 @@ #ifdef __i386__
                 }
                 SERVER_END_REQ;
             }
+            if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi);
 #else
             status = STATUS_NOT_IMPLEMENTED;
 #endif
-            if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi);
             return status;
         }
     case ThreadPriority:




More information about the wine-cvs mailing list