mirror of
https://github.com/reactos/reactos.git
synced 2025-06-29 23:31:22 +00:00
little simplification
svn path=/trunk/; revision=11239
This commit is contained in:
parent
82a44258db
commit
d02f400b31
1 changed files with 3 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: session.c,v 1.7 2004/10/02 21:14:08 weiden Exp $
|
/* $Id: session.c,v 1.8 2004/10/08 21:37:16 weiden Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -83,16 +83,9 @@ BOOL STDCALL ProcessIdToSessionId (IN DWORD dwProcessId,
|
||||||
*pSessionId = SessionInformation.SessionId;
|
*pSessionId = SessionInformation.SessionId;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
SetLastErrorByStatus(Status);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
SetLastErrorByStatus(Status);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SetLastErrorByStatus(Status);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue