reactos/lib/kernel32/process
diff -u -r1.7 -r1.8
--- session.c 2 Oct 2004 21:14:08 -0000 1.7
+++ session.c 8 Oct 2004 21:37:16 -0000 1.8
@@ -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
* PROJECT: ReactOS system libraries
@@ -83,16 +83,9 @@
*pSessionId = SessionInformation.SessionId;
return TRUE;
}
- else
- {
- SetLastErrorByStatus(Status);
- }
- }
- else
- {
- SetLastErrorByStatus(Status);
}
-
+
+ SetLastErrorByStatus(Status);
return FALSE;
}