From 4c205188640502806c7747a9ebe7c0239ffcb468 Mon Sep 17 00:00:00 2001 From: seifalrahman <130805731+seifalrahman@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:58:23 +0200 Subject: [PATCH] modifying the condition from (status!=0) to (status>0) to skip the block in case the status variable ==-1 --- modules/database/src/ioc/db/recGbl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/database/src/ioc/db/recGbl.c b/modules/database/src/ioc/db/recGbl.c index c9bb62fdb..42248bdc4 100644 --- a/modules/database/src/ioc/db/recGbl.c +++ b/modules/database/src/ioc/db/recGbl.c @@ -62,7 +62,7 @@ void recGblRecordError(long status, void *pdbc, dbCommon *precord = pdbc; char errMsg[256] = ""; - if (status) + if ( status>0 ) errSymLookup(status, errMsg, sizeof(errMsg)); errlogPrintf("recGblRecordError: %s %s PV: %s\n",