[CSRSRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 10 Mar 2013 19:44:48 +0000 (19:44 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sun, 10 Mar 2013 19:44:48 +0000 (19:44 +0000)
Clarify this one, too.

svn path=/branches/ros-csrss/; revision=58465

subsystems/win32/csrsrv/init.c

index 69dbbd8..80d8b55 100644 (file)
@@ -560,7 +560,7 @@ CsrParseServerCommandLine(IN ULONG ArgumentCount,
                 Status);
 
         /* It's not fatal if the session ID isn't zero */
-        if (SessionId) return Status;
+        if (SessionId != 0) return Status;
         ASSERT(NT_SUCCESS(Status));
     }
 
@@ -578,7 +578,7 @@ CsrParseServerCommandLine(IN ULONG ArgumentCount,
         if (_stricmp(ParameterName, "ObjectDirectory") == 0)
         {
             /* Check if a session ID is specified */
-            if (SessionId)
+            if (SessionId != 0)
             {
                 DPRINT1("Sessions not yet implemented\n");
                 ASSERT(SessionId);