Fixed bad -9999.9 after error message when geterror was set on a root level
SICSOBJ node
This commit is contained in:
@ -477,7 +477,6 @@ int InvokeSICSOBJ(SConnection * pCon, SicsInterp * pSics, void *pData,
|
|||||||
status = GetHdbProperty(parNode,"geterror",buffer,sizeof(buffer));
|
status = GetHdbProperty(parNode,"geterror",buffer,sizeof(buffer));
|
||||||
if (status == 1 && strstr(buffer,"none") == NULL){
|
if (status == 1 && strstr(buffer,"none") == NULL){
|
||||||
SCPrintf(pCon,eValue,"ERROR: %s on last read of %s", buffer, argv[0]);
|
SCPrintf(pCon,eValue,"ERROR: %s on last read of %s", buffer, argv[0]);
|
||||||
SCPrintf(pCon,eValue,"%s = -99999", argv[0]);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
status = GetHipadabaPar(parNode, &data, pCon);
|
status = GetHipadabaPar(parNode, &data, pCon);
|
||||||
|
Reference in New Issue
Block a user