Author: ekohl
Date: Sat Mar 8 21:12:07 2014
New Revision: 62463
URL:
http://svn.reactos.org/svn/reactos?rev=62463&view=rev
Log:
[LSALIB]
LsaLogonUser: Pass the SubStatus to the caller before leaving the function in case of an
error.
Modified:
trunk/reactos/lib/lsalib/lsa.c
Modified: trunk/reactos/lib/lsalib/lsa.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/lsalib/lsa.c?rev=62463…
==============================================================================
--- trunk/reactos/lib/lsalib/lsa.c [iso-8859-1] (original)
+++ trunk/reactos/lib/lsalib/lsa.c [iso-8859-1] Sat Mar 8 21:12:07 2014
@@ -277,6 +277,8 @@
return Status;
}
+ *SubStatus = ApiMessage.LogonUser.Reply.SubStatus;
+
if (!NT_SUCCESS(ApiMessage.Status))
{
return ApiMessage.Status;
@@ -287,7 +289,6 @@
*LogonId = ApiMessage.LogonUser.Reply.LogonId;
*Token = ApiMessage.LogonUser.Reply.Token;
*Quotas = ApiMessage.LogonUser.Reply.Quotas;
- *SubStatus = ApiMessage.LogonUser.Reply.SubStatus;
return Status;
}