oops
This commit is contained in:
@@ -12,9 +12,10 @@ long link_test_extend(struct dbCommon *junk)
|
||||
static dsxt xrecextend = {&link_test_extend, &link_test_extend};
|
||||
|
||||
static
|
||||
long link_test_init(int junk)
|
||||
long link_test_init(int pass)
|
||||
{
|
||||
devExtend(&xrecextend);
|
||||
if(pass==0)
|
||||
devExtend(&xrecextend);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -2297,7 +2297,7 @@ long dbPutString(DBENTRY *pdbentry,const char *pstring)
|
||||
struct dbCommon *prec = pdbentry->precnode->precord;
|
||||
devSup *devsup = (devSup *)ellNth(&pdbentry->precordType->devList, prec->dtyp+1);
|
||||
status = dbCanSetLink(plink, &link_info, devsup);
|
||||
if(status)
|
||||
if(status==0)
|
||||
status = dbSetLink(plink, &link_info, devsup);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user