pcRegisteredCommandString = pxCommand->pxCommandLineDefinition->pcCommand;\r
xCommandStringLength = strlen( ( const char * ) pcRegisteredCommandString );\r
\r
- /* To ensure the string lengths match exactly, so as not to pick up \r
+ /* To ensure the string lengths match exactly, so as not to pick up\r
a sub-string of a longer command, check the byte after the expected\r
end of the string is either the end of the string or a space before\r
a parameter. */\r
pcCommandString++;\r
}\r
\r
+ if( *pxParameterStringLength == 0 )\r
+ {\r
+ pcReturn = NULL;\r
+ }\r
+\r
break;\r
}\r
}\r