Fixed a sget bug from POLDI. Returns OK instead of number

This commit is contained in:
2014-10-21 16:28:06 +02:00
parent b319461531
commit be058abdef
3 changed files with 9 additions and 2 deletions

View File

@@ -172,6 +172,13 @@ int SetSICSStatus(SConnection * pCon, SicsInterp * pSics, void *pData,
return 0;
}
SCWrite(pCon,"Status is calculated, cannot be set manually any longer", eValue);
return 1;
/*
The code below is defunct and just here for documentary reasons
*/
/* is there a value ? */
if (argc < 2) {
SCWrite(pCon, "ERROR: missing parameter for SetStatus", eError);