Fixed a sget bug from POLDI. Returns OK instead of number
This commit is contained in:
7
script.c
7
script.c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user