diff --git a/sicsget.c b/sicsget.c index bcb20a37..931cabbf 100644 --- a/sicsget.c +++ b/sicsget.c @@ -81,7 +81,7 @@ static int SICSGetCommand(SConnection * pCon, SicsInterp * pSics, void *pData, if(status){ data = formatValue(v,NULL); if(data != NULL){ - SCPrintf(pCon,eValue,"%s",trim(GetCharArray(data))); + SCWrite(pCon,GetCharArray(data),eValue); DeleteDynString(data); } else { SCPrintf(pCon,eError,"ERROR: formatting value for %s failed", argv[1]);