In process the udf field is now set to false if dol is
not a constant link and dbGetLink returns success.
This commit is contained in:
1 parent
19cc8098dc
commit
ac5e26f132
1 file changed
+1
-1
@@ -162,7 +162,7 @@ static long process(pstringout)
|
||||
if (!pstringout->pact && pstringout->omsl == CLOSED_LOOP){
|
||||
status = dbGetLink(&(pstringout->dol),
|
||||
DBR_STRING,pstringout->val,0,0);
|
||||
if(RTN_SUCCESS(status)) pstringout->udf=FALSE;
|
||||
if(pstringout->dol.type!=CONSTANT && RTN_SUCCESS(status)) pstringout->udf=FALSE;
|
||||
}
|
||||
|
||||
if(pstringout->udf == TRUE ){
|
||||
|
||||
Reference in new issue
Block a user