command_handler: change to 'argc' to CMD_ARGC
This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
This commit is contained in:
@@ -752,7 +752,7 @@ static char *presto_serial;
|
||||
|
||||
COMMAND_HANDLER(presto_handle_serial_command)
|
||||
{
|
||||
if (argc == 1)
|
||||
if (CMD_ARGC == 1)
|
||||
{
|
||||
if (presto_serial)
|
||||
free(presto_serial);
|
||||
|
||||
Reference in New Issue
Block a user