SICS-759 Make asyncprotocol look for the list command in the correct place.
This commit is contained in:
@ -269,7 +269,6 @@ int AsyncProtocolAction(SConnection * pCon, SicsInterp * pSics,
|
||||
SCWrite(pCon, line, eValue);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
} else if (strcasecmp(argv[1], "list") == 0) {
|
||||
int ac = 2;
|
||||
char *av[3] = { argv[0], 0, 0 };
|
||||
@ -280,6 +279,7 @@ int AsyncProtocolAction(SConnection * pCon, SicsInterp * pSics,
|
||||
return 1;
|
||||
}
|
||||
/* handle any other actions here */
|
||||
}
|
||||
return AsyncProtocolNoAction(pCon, pSics, pData, argc, argv);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user