- Removed trim in sicsget: caused line breaks in text to disappear which was not desired
This commit is contained in:
@ -81,7 +81,7 @@ static int SICSGetCommand(SConnection * pCon, SicsInterp * pSics, void *pData,
|
|||||||
if(status){
|
if(status){
|
||||||
data = formatValue(v,NULL);
|
data = formatValue(v,NULL);
|
||||||
if(data != NULL){
|
if(data != NULL){
|
||||||
SCPrintf(pCon,eValue,"%s",trim(GetCharArray(data)));
|
SCWrite(pCon,GetCharArray(data),eValue);
|
||||||
DeleteDynString(data);
|
DeleteDynString(data);
|
||||||
} else {
|
} else {
|
||||||
SCPrintf(pCon,eError,"ERROR: formatting value for %s failed", argv[1]);
|
SCPrintf(pCon,eError,"ERROR: formatting value for %s failed", argv[1]);
|
||||||
|
Reference in New Issue
Block a user