Skip to content

Commit

Permalink
Merge 4c059ea into 5dfc6ca
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-zimoch committed Apr 2, 2024
2 parents 5dfc6ca + 4c059ea commit 1a21ac4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/database/src/ioc/dbStatic/dbStaticLib.c
Expand Up @@ -2206,12 +2206,16 @@ long dbInitRecordLinks(dbRecordType *rtyp, struct dbCommon *prec)
*/

} else if(dbCanSetLink(plink, &link_info, devsup)!=0) {
errlogPrintf(ERL_ERROR ": %s.%s: can't initialize link type %d with \"%s\" (type %d)\n",
prec->name, pflddes->name, plink->type, plink->text, link_info.ltype);
errlogPrintf(ERL_ERROR
": %s.%s: can't initialize link type %s with \"%s\" (type %s)\n",
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue,
plink->text, pamaplinkType[link_info.ltype].strvalue);

} else if(dbSetLink(plink, &link_info, devsup)) {
errlogPrintf(ERL_ERROR ": %s.%s: failed to initialize link type %d with \"%s\" (type %d)\n",
prec->name, pflddes->name, plink->type, plink->text, link_info.ltype);
errlogPrintf(ERL_ERROR
": %s.%s: failed to initialize link type %s with \"%s\" (type %s)\n",
prec->name, pflddes->name, pamaplinkType[plink->type].strvalue,
plink->text, pamaplinkType[link_info.ltype].strvalue);
}
free(plink->text);
plink->text = NULL;
Expand Down

0 comments on commit 1a21ac4

Please sign in to comment.