- Cleaned all old dtatus setting code
This commit is contained in:
12
script.c
12
script.c
@@ -143,11 +143,17 @@ int SetSICSInterrupt(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
/*-------------------------------------------------------------------------
|
||||
This method does nothing anymore. Status is now calculated from the state
|
||||
of SICS and no longer explicitly set. I left the code in because I am to
|
||||
lazy to find all use cases and eliminate them
|
||||
|
||||
M.K. 07/2014
|
||||
--------------------------------------------------------------------------*/
|
||||
int SetSICSStatus(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
int argc, char *argv[])
|
||||
{
|
||||
int iInt;
|
||||
int iInt = 0;
|
||||
char pBueffel[132];
|
||||
|
||||
assert(pCon);
|
||||
@@ -174,7 +180,7 @@ int SetSICSStatus(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
|
||||
/* actually do a job */
|
||||
strtolower(argv[1]);
|
||||
iInt = SetStatusFromText(argv[1]);
|
||||
/* iInt = SetStatusFromText(argv[1]); */
|
||||
if (iInt) {
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user