perfsrv/memspy/CommandLine/Source/MemSpyCommandLine.cpp
changeset 54 a151135b0cf9
parent 52 c2f44e33b468
child 62 1c2bb2fc7c87
--- a/perfsrv/memspy/CommandLine/Source/MemSpyCommandLine.cpp	Mon Sep 27 14:07:59 2010 +0300
+++ b/perfsrv/memspy/CommandLine/Source/MemSpyCommandLine.cpp	Wed Sep 29 17:45:35 2010 +0300
@@ -71,7 +71,7 @@
 	const TInt count = aCommandLine.Count();
 	TRACE( RDebug::Printf( "[MemSpyCmdLine] CMemSpyCommandLine::PerformOpL() - START - arg count: %d, this: 0x%08x", count, this ) );
 
-	if (count >= 1)
+	if (count > 1)
 		{
 		// Get main command
 		TBuf<KMemSpyCommandLineMaxLength> command;
@@ -92,6 +92,10 @@
 		// Tidy up
 		CleanupStack::PopAndDestroy(args);
 		}
+	else if ( count == 1 )
+		{
+		TRACE( RDebug::Printf( "[MemSpyCmdLine] CMemSpyCommandLine::PerformOpL() - nno commands and parameters set" ) );
+		}
 	else
 		{
 		User::Leave(KErrUnderflow);