Fixed a sget bug from POLDI. Returns OK instead of number
This commit is contained in:
@ -81,7 +81,7 @@ static int SICSGetCommand(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
if(status){
|
||||
data = formatValue(v,NULL);
|
||||
if(data != NULL){
|
||||
SCWrite(pCon,GetCharArray(data),eValue);
|
||||
SCWrite(pCon,trim(GetCharArray(data)),eValue);
|
||||
DeleteDynString(data);
|
||||
} else {
|
||||
SCPrintf(pCon,eError,"ERROR: formatting value for %s failed", argv[1]);
|
||||
|
Reference in New Issue
Block a user