strip whitespace from end of lines
[reactos.git] / reactos / ntoskrnl / rtl / capture.c
index f569d23..b138d8b 100644 (file)
@@ -4,7 +4,7 @@
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/rtl/capture.c
  * PURPOSE:         Helper routines for system calls.
- * 
+ *
  * PROGRAMMERS:     David Welch (welch@cwcom.net)
  */
 
@@ -25,17 +25,17 @@ RtlCaptureUnicodeString(OUT PUNICODE_STRING Dest,
 {
   UNICODE_STRING Src;
   NTSTATUS Status = STATUS_SUCCESS;
-  
+
   ASSERT(Dest != NULL);
-  
+
   /*
    * Copy the source string structure to kernel space.
    */
-  
+
   if(CurrentMode == UserMode)
   {
     RtlZeroMemory(&Src, sizeof(Src));
-    
+
     _SEH_TRY
     {
       ProbeForRead(UnsafeSrc,
@@ -54,7 +54,7 @@ RtlCaptureUnicodeString(OUT PUNICODE_STRING Dest,
       Status = _SEH_GetExceptionCode();
     }
     _SEH_END;
-    
+
     if(!NT_SUCCESS(Status))
     {
       return Status;
@@ -71,7 +71,7 @@ RtlCaptureUnicodeString(OUT PUNICODE_STRING Dest,
     /* capture the string even though it is considered to be valid */
     Src = *UnsafeSrc;
   }
-  
+
   /*
    * Initialize the destination string.
    */
@@ -99,7 +99,7 @@ RtlCaptureUnicodeString(OUT PUNICODE_STRING Dest,
       Status = _SEH_GetExceptionCode();
     }
     _SEH_END;
-    
+
     if(!NT_SUCCESS(Status))
     {
       ExFreePool(Dest->Buffer);
@@ -112,7 +112,7 @@ RtlCaptureUnicodeString(OUT PUNICODE_STRING Dest,
     Dest->MaximumLength = 0;
     Dest->Buffer = NULL;
   }
-  
+
   return Status;
 }