SICS-759 Make asyncprotocol look for the list command in the correct place.

This commit is contained in:
Douglas Clowes
2014-07-14 13:18:26 +10:00
parent f916462be6
commit d010e76076

View File

@ -269,7 +269,6 @@ int AsyncProtocolAction(SConnection * pCon, SicsInterp * pSics,
SCWrite(pCon, line, eValue); SCWrite(pCon, line, eValue);
} }
return 1; return 1;
}
} else if (strcasecmp(argv[1], "list") == 0) { } else if (strcasecmp(argv[1], "list") == 0) {
int ac = 2; int ac = 2;
char *av[3] = { argv[0], 0, 0 }; char *av[3] = { argv[0], 0, 0 };
@ -280,6 +279,7 @@ int AsyncProtocolAction(SConnection * pCon, SicsInterp * pSics,
return 1; return 1;
} }
/* handle any other actions here */ /* handle any other actions here */
}
return AsyncProtocolNoAction(pCon, pSics, pData, argc, argv); return AsyncProtocolNoAction(pCon, pSics, pData, argc, argv);
} }