forget update de.rc
[reactos.git] / reactos / ntoskrnl / lpc / complete.c
index 3b7f67a..e14350d 100644 (file)
@@ -1,12 +1,11 @@
 /* $Id$
- * 
+ *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/lpc/complete.c
  * PURPOSE:         Communication mechanism
- * PROGRAMMER:      David Welch (welch@cwcom.net)
- * UPDATE HISTORY:
- *                  Created 22/05/98
+ *
+ * PROGRAMMERS:     David Welch (welch@cwcom.net)
  */
 
 /* INCLUDES ******************************************************************/
@@ -38,15 +37,15 @@ NtCompleteConnectPort (HANDLE hServerSideCommPort)
 {
   NTSTATUS     Status;
   PEPORT       ReplyPort;
-  
+
   DPRINT("NtCompleteConnectPort(hServerSideCommPort %x)\n", hServerSideCommPort);
+
   /*
    * Ask Ob to translate the port handle to EPORT
    */
   Status = ObReferenceObjectByHandle (hServerSideCommPort,
                                      PORT_ALL_ACCESS,
-                                     LpcPortObjectType,
+                                     LpcPortObjectType,
                                      UserMode,
                                      (PVOID*)&ReplyPort,
                                      NULL);
@@ -59,23 +58,23 @@ NtCompleteConnectPort (HANDLE hServerSideCommPort)
    * otherwise tell the caller the port handle is not
    * valid.
    */
-  if (ReplyPort->Type != EPORT_TYPE_SERVER_COMM_PORT) 
+  if (ReplyPort->Type != EPORT_TYPE_SERVER_COMM_PORT)
     {
        ObDereferenceObject (ReplyPort);
        return STATUS_INVALID_PORT_HANDLE;
     }
-  
+
   ReplyPort->State = EPORT_CONNECTED_SERVER;
   /*
    * Wake up the client thread that issued NtConnectPort.
-   */ 
-  KeReleaseSemaphore(&ReplyPort->OtherPort->Semaphore, IO_NO_INCREMENT, 1, 
+   */
+  KeReleaseSemaphore(&ReplyPort->OtherPort->Semaphore, IO_NO_INCREMENT, 1,
                     FALSE);
   /*
    * Tell Ob we are no more interested in ReplyPort
-   */   
+   */
   ObDereferenceObject (ReplyPort);
-  
+
   return (STATUS_SUCCESS);
 }