--- 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);